bashrc (626B)
1 # 2 # ${XDG_CONFIG_HOME}/bash/bashrc 3 # 4 5 # If not running interactively, don't do anything 6 [[ $- != *i* ]] && return 7 8 # Source functions if exist 9 function_file=${XDG_CONFIG_HOME}/bash/bash_functions 10 [[ -f "$function_file" ]] && source "$function_file" 11 unset function_file 12 13 # Dotfiles 14 alias dotfiles='/usr/bin/git --git-dir=/home/magaknuto/.dotfiles --work-tree=/home/magaknuto' 15 complete -F __git_wrap__git_main dotfiles 16 17 # Aliases 18 alias wget='wget --hsts-file="$XDG_CONFIG_HOME/wget-hsts"' 19 20 # Variables 21 export GPG_TTY=$(tty) 22 export MAKEFLAGS="-j8" 23 24 # Customization 25 PS1="$(battery_status) | $GREEN\u [ $NORMAL\w$GREEN ]$ $NORMAL"