aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--.zsh.after/export.zsh29
2 files changed, 29 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 1564036..8eb3308 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@
# Files that might appear on external disk
.Spotlight-V100
.Trashes
+.Trash/
# Windows taken from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
# ----------------------------------------------------------------------------------------------
@@ -33,12 +34,15 @@ Session.vim
# Files/folders that appear in my home
# ----------------------------------------------------------------------------------------------
+Applications/
Desktop/
Documents/
Downloads/
Mail/
+Movies/
Music/
Pictures/
+Public/
Videos/
backup/
bin/pass2offlineimapc
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index 54d78ab..89ba7dc 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -8,15 +8,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
@@ -49,8 +60,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