summaryrefslogtreecommitdiff
path: root/zshrc.local
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc.local')
-rw-r--r--zshrc.local28
1 files changed, 28 insertions, 0 deletions
diff --git a/zshrc.local b/zshrc.local
new file mode 100644
index 0000000..9309ddc
--- /dev/null
+++ b/zshrc.local
@@ -0,0 +1,28 @@
+
+bindkey -v
+
+export BROWSER=firefox
+export EDITOR=vim
+
+GPG_TTY=$(tty)
+export GPG_TTY
+
+export CC=clang
+export CXX=clang++
+
+PATH=~/.local/bin:$PATH:/usr/sbin
+export LD_LIBRARY_PATH=~/.local/lib:~/.local/lib64:$LD_LIBRARY_PATH
+export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:~/.local/include
+
+sudo() {
+ if [ "$1" = "vim" ]
+ then
+ shift
+ sudoedit "$@"
+ else
+ command sudo "$@"
+ fi
+}
+
+export GTK_IM_MODULE="xim"
+