commit b046bd6ce318fc0bd40e1fd51e7992235a67be99
parent 2811b875fb434f4ebc3cf320f517edcd0e20d104
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sat, 19 Jan 2019 16:10:37 -0500
Set environment variables.
Diffstat:
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/.profile b/.profile
@@ -1,5 +1,13 @@
-# Keyboard settings.
-export XKB_DEFAULT_OPTIONS=ctrl:swapcaps
+# # Keyboard settings.
+# export XKB_DEFAULT_OPTIONS=ctrl:swapcaps
-# Auto start tbsm after login on first two VTs.
-[[ $XDG_VTNR -le 2 ]] && tbsm
+# Adds `~/.scripts` and all subdirectories to $PATH
+export PATH="$PATH:$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':')"
+
+# Fcitx fixes
+export XMODIFIERS=@im=fcitx
+export QT_IM_MODULE=fcitx
+export GTK_IM_MODULE=fcitx
+
+# # Auto start tbsm after login on first two VTs.
+# [[ $XDG_VTNR -le 2 ]] && tbsm