unixconf/configurations/.zshrc_perso

29 lines
567 B
Plaintext

unset SSH_ASKPASS # Dialog
bindkey "^H" backward-delete-word # Ctrl + back
export HISTSIZE=10000
export SAVEHIST=10000
export HISTFILE="$HOME/.history"
export XDG_CONFIG_HOME="$HOME/.config"
# export WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>'
export WORDCHARS=''
export TERM=xterm-256color
if [ -f ~/.zsh_functions ]; then
. ~/.zsh_functions
fi
if [ -f ~/.zsh_aliases ]; then
. ~/.zsh_aliases
fi
if ! pgrep -u $USER ssh-agent > /dev/null; then
ssh-agent > ~/.ssh-agent-thing
fi
if [[ "$SSH_AGENT_PID" == "" ]]; then
eval $(<~/.ssh-agent-thing) > /dev/null
fi