summaryrefslogtreecommitdiff
path: root/zsh/zshrc
blob: f59c84358c2bd61636508cec46fe5e1029836049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Global stuff shitty programs use
export EDITOR=~/.nix-profile/bin/nvim

# GPG is needy
export GPG_TTY=$(tty)

#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