summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc14
1 files changed, 10 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index 48c45ba..2706434 100644
--- a/.zshrc
+++ b/.zshrc
@@ -8,8 +8,12 @@ ZDOTDIR="$HOME/.zsh"
export LANG=en_US.UTF-8
export TZ=Europe/Vienna
-# add extra dirs to path. allows to separate script bundles into dirs
-for _dir in $HOME/bin/extra/*(/N); do
+if [[ $TERM = "xterm-termite" ]]; then
+ export TERM=xterm-256color
+fi
+
+# add extra dirs/symlinks to path. allows to separate script bundles into dirs
+for _dir in $HOME/bin/extra/*(/N,@N); do
export PATH=$_dir:$PATH
done
@@ -403,7 +407,8 @@ hgrep() {
# }}}
# History {{{
-HISTFILE=~/.zsh/histfile
+HISTORYDIRECTORY=~/.zsh/history
+HISTFILE="$HISTORYDIRECTORY/histfile"
HISTSIZE=10000
SAVEHIST=10000000
# }}}
@@ -721,7 +726,8 @@ if [[ -e $HOME/git/dotfiles/.zsh/zsh-syntax-highlighting-git/zsh-syntax-highligh
source $HOME/git/dotfiles/.zsh/zsh-syntax-highlighting-git/zsh-syntax-highlighting.zsh
fi
-export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
+#export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
+export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/keyring/ssh"
if [[ -e ~/perl5 ]]; then
eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)