aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/export.zsh29
1 files changed, 25 insertions, 4 deletions
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index 921401d..45dbe9b 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -9,15 +9,26 @@ fi
available_locale=$(locale -a|tr '\n' ' ')
-if test "${available_locale#*en_DK.utf8}" != $available_locale; then
+if [ "${available_locale#*en_DK.utf8}" != "$available_locale" ]; then
+ export LC_TIME="en_DK.UTF-8"
+elif [ "${available_locale#*en_DK.UTF-8}" != "$available_locale" ]; then
export LC_TIME="en_DK.UTF-8"
fi
-if test "${available_locale#*de_DE.utf8}" != $available_locale; then
+if [ "${available_locale#*de_DE.utf8}" != "$available_locale" ]; then
+ export LC_MONETARY="de_DE.UTF-8"
+elif [ "${available_locale#*de_DE.UTF-8}" != "$available_locale" ]; then
export LC_MONETARY="de_DE.UTF-8"
fi
-if test "${available_locale#*en_US.utf8}" != $available_locale; then
+if [ "${available_locale#*en_US.utf8}" != "$available_locale" ]; then
+ export LANG="en_US.UTF-8"
+elif [ "${available_locale#*en_US.UTF-8}" != "$available_locale" ]; then
export LANG="en_US.UTF-8"
fi
+if [ "${available_locale#*en_US.utf8}" != "$available_locale" ] ; then
+ export LC_CTYPE="en_US.UTF-8"
+elif [ "${available_locale#*en_US.UTF-8}" != "$available_locale" ]; then
+ export LC_CTYPE="en_US.UTF-8"
+fi
# keyboard exports for sway
export XKB_DEFAULT_LAYOUT=de
@@ -50,8 +61,18 @@ export _JAVA_OPTIONS='-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndF
# non-reparenting windows
export _JAVA_AWT_WM_NONREPARENTING=1
+# pipenv environment variables:
+# - disabling fancy shell stuff
+# - creating virtualenv within each project
+# - moving cache dir to build volume
+export PIPENV_NOSPIN="true"
+export PIPENV_COLORBLIND="true"
+export PIPENV_HIDE_EMOJIS="true"
+export PIPENV_VENV_IN_PROJECT="true"
+#export PIPENV_CACHE_DIR="$HOME/.cache/pipenv"
+
# GnuPG
-export GPG_TTY=$(tty)
+export GPG_TTY=$TTY
export GPG_AGENT_INFO=""
# ssh-agent