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