diff options
author | Robin Krahl <me@robin-krahl.de> | 2017-03-12 20:50:14 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2017-03-12 20:50:14 +0100 |
commit | 811ec4b3ed0fbd9faf7a05427157d57f393c6de9 (patch) | |
tree | 79131b91fb577f7489c659baecab93b89854160e | |
parent | 4f8a0ae65141d6139f8f3f50b6206025341a7da8 (diff) | |
download | dotfiles-811ec4b3ed0fbd9faf7a05427157d57f393c6de9.tar.gz dotfiles-811ec4b3ed0fbd9faf7a05427157d57f393c6de9.tar.bz2 |
sh: add environment and alias definitions
-rw-r--r-- | .config/sh/alias.sh | 1 | ||||
-rw-r--r-- | .config/sh/environment.sh | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.config/sh/alias.sh b/.config/sh/alias.sh new file mode 100644 index 0000000..19674dc --- /dev/null +++ b/.config/sh/alias.sh @@ -0,0 +1 @@ +alias irssi="irssi --home=${XDG_CONFIG_HOME}/irssi" diff --git a/.config/sh/environment.sh b/.config/sh/environment.sh new file mode 100644 index 0000000..7afe112 --- /dev/null +++ b/.config/sh/environment.sh @@ -0,0 +1,12 @@ +export XDG_CONFIG_HOME="${HOME}/.config" +export XDG_CACHE_HOME="${HOME}/.cache" +export XDG_DATA_HOME="${HOME}/.local/share" + +export CARGO_HOME="${XDG_DATA_HOME}/cargo" +export ELINKS_CONFDIR="${XDG_CONFIG_HOME}/elinks" +export GIMP2_DIRECTORY="${XDG_CONFIG_HOME}/gimp" +export HISTFILE="${XDG_CACHE_HOME}/sh/history" +export LESSHISTFILE="${XDG_CACHE_HOME}/less/history" +export LESSKEY="${XDG_CONFIG_HOME}/less/lesskey" +export PASSWORD_STORE_DIR="${XDG_DATA_HOME}/pass" +export XINITRC="${XDG_CONFIG_HOME}/X11/xinitrc" |