diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-04-22 22:22:07 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-04-22 22:22:07 +0200 |
commit | be0d9059f77799720891481975b9124e5de2992c (patch) | |
tree | b9d3ccdbc97a19a3316cf9d02dfca3ef09b4a37d /.zshrc | |
parent | 817743df402d5a610da7a23002245075a701a123 (diff) | |
download | dotfiles-be0d9059f77799720891481975b9124e5de2992c.tar.gz dotfiles-be0d9059f77799720891481975b9124e5de2992c.tar.xz |
zshrc: misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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) |