dotfilesClean dotfiles |
git clone git://git.dimitrijedobrota.com/dotfiles.git |
Log | Files | Refs |
.bash_profile (732B)
0 #
1 # ~/.bash_profile
2 #
4 # Content of this file can be copied to /etc/profile
5 # for cleaner home directory
7 # Set some defaults for graphical systems
8 export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}
9 export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}
10 export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}
12 if [ ! -d $XDG_RUNTIME_DIR ]; then
13 mkdir $XDG_RUNTIME_DIR
14 fi
16 # Set some defaults for user directories
17 export XDG_CACHE_HOME=$HOME/.xdg/cache
18 export XDG_CONFIG_HOME=$HOME/.xdg/config
19 export XDG_DATA_HOME=$HOME/.xdg/data
20 export XDG_STATE_HOME=$HOME/.xdg/state
22 [[ -f $XDG_CONFIG_HOME/bash/bash_profile ]] && . $XDG_CONFIG_HOME/bash/bash_profile
23 [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc