Don’t do ssh stuff so globally, remove unnecesary plugins
This commit is contained in:
parent
b97abccae6
commit
9b802bb980
1 changed files with 3 additions and 8 deletions
11
zshrc
11
zshrc
|
@ -45,7 +45,7 @@ COMPLETION_WAITING_DOTS="true"
|
|||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(sudo git git-flow brew)
|
||||
plugins=(git git-flow)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
@ -117,6 +117,8 @@ export EDITOR='vim'
|
|||
alias auao="sudo apt update && apt list --upgradable"
|
||||
alias aupg="sudo apt upgrade"
|
||||
alias aurup="sudo aura -Akua"
|
||||
alias bubc="brew upgrade && brew cleanup"
|
||||
alias bubo="brew update && brew outdated"
|
||||
alias brewcurl="/usr/local/opt/curl/bin/curl --cacert /usr/local/etc/openssl/cert.pem"
|
||||
alias brewssl="/usr/local/opt/openssl/bin/openssl"
|
||||
alias irc="ssh jmb -t '. ~/.zshrc; tmux attach -t irc'"
|
||||
|
@ -151,13 +153,6 @@ export PATH="$PATH:/usr/local/opt/go/libexec/bin:$GOPATH/bin"
|
|||
GPG_TTY=`tty`
|
||||
export GPG_TTY
|
||||
|
||||
# SSH
|
||||
if test -z "$SSH_AUTH_SOCK"; then
|
||||
eval `ssh-agent -s`
|
||||
ssh-add ~/.ssh/id_jmb
|
||||
ssh-add ~/.ssh/id_github
|
||||
fi
|
||||
|
||||
# composer global
|
||||
test "$platform" = 'linux' && export PATH="$PATH:/home/jonny/.composer/vendor/bin"
|
||||
test "$platform" = 'osx' && export PATH="$PATH:/Users/jonny/.composer/vendor/bin"
|
||||
|
|
Loading…
Add table
Reference in a new issue