summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/sh/alias.sh1
-rw-r--r--.config/sh/environment.sh12
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"