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