Add XDG support
This commit is contained in:
11
xdg/.config/xdg/env
Normal file
11
xdg/.config/xdg/env
Normal file
@@ -0,0 +1,11 @@
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_STATE_HOME="${HOME}/.local/state"
|
||||
export XDG_CACHE_HOME="${HOME}/.cache"
|
||||
|
||||
# Set environment variables to force programs to respect XDG that do not by default
|
||||
export SCREENRC="${XDG_CONFIG_HOME}/screen/screenrc"
|
||||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||
export MYSQL_HISTFILE="$XDG_DATA_HOME"/mysql_history
|
||||
export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
|
||||
export IRBRC="$XDG_CONFIG_HOME/irb/irbrc"
|
||||
Reference in New Issue
Block a user