loadout/zsh/zshrc

25 lines
475 B
Bash
Raw Normal View History

#Global stuff shitty programs use
export EDITOR=~/.nix-profile/bin/nvim
# GPG is needy
export GPG_TTY=$(tty)
2017-10-18 00:12:57 +00:00
#Correctly background processes
setopt nohup
#Stop zsh from stupidly asking me to correct vim to .vim
unsetopt correctall
#Bind my shit
bindkey -s "\eu" "cd ..\n" #cd up
#Turn off share history
unsetopt share_history
#zmv is the bee's-knees
autoload -U zmv
# Save ssh password within a terminal
eval $(ssh-agent) 2>&1 >/dev/null
trap "kill $SSH_AGENT_PID" 0