diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-11-13 09:48:12 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-11-13 09:48:12 -0500 |
commit | 1997f76d1e6200bc6cd7a3c6c692e2d757fa691a (patch) | |
tree | 5e256cd55b4607fc5e7af8dff65577284e069d8c /zshrc.local | |
download | zsh-1997f76d1e6200bc6cd7a3c6c692e2d757fa691a.tar.gz zsh-1997f76d1e6200bc6cd7a3c6c692e2d757fa691a.tar.bz2 zsh-1997f76d1e6200bc6cd7a3c6c692e2d757fa691a.zip |
initial commit
Diffstat (limited to 'zshrc.local')
-rw-r--r-- | zshrc.local | 28 |
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" + |