Indentation and ssh bits in zshrc

main
Dan Buch 7 years ago
parent 01a80d5c8a
commit 7f28373dbf
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

99
zshrc

@ -28,33 +28,33 @@ COMPLETION_WAITING_DOTS="true"
# DISABLE_UNTRACKED_FILES_DIRTY="true"
plugins=(
autoenv
aws
bundler
cabal
command-not-found
cp
docker
gem
git
git-hubflow
golang
heroku
hk
knife
osx
pip
postgres
python
rails
rake-fast
rbenv
redis-cli
rsync
ruby
tmux
vagrant
vi-mode
autoenv
aws
bundler
cabal
command-not-found
cp
docker
gem
git
git-hubflow
golang
heroku
hk
knife
osx
pip
postgres
python
rails
rake-fast
rbenv
redis-cli
rsync
ruby
tmux
vagrant
vi-mode
)
fpath=(/usr/local/share/zsh/site-functions $fpath)
@ -74,19 +74,19 @@ unsetopt correct_all
bindkey '^R' history-incremental-search-backward
path=(
$HOME/bin
$HOME/go/bin
$HOME/.rbenv/bin
$HOME/.rbenv/shims
$HOME/.phpenv/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
$HOME/bin
$HOME/go/bin
$HOME/.rbenv/bin
$HOME/.rbenv/shims
$HOME/.phpenv/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
)
if which pyenv >/dev/null; then
@ -109,17 +109,24 @@ done
export GPG_TTY=$(tty)
function dump-ssh-agent() {
env | awk '/SSH/ {
sub(/=/, "=\"", $1)
sub(/$/, "\"", $1)
print "export " $1
}' | tee ~/.ssh/agent.out
env | awk '/SSH/ {
sub(/=/, "=\"", $1)
sub(/$/, "\"", $1)
print "export " $1
}' | tee ~/.ssh/agent.out
}
function load-ssh-agent() {
source ~/.ssh/agent.out
source ~/.ssh/agent.out
}
function start-ssh-agent() {
ssh-agent >~/.ssh/agent.out
}
load-ssh-agent &>/dev/null
[[ -e ~/.zshenv ]] && source ~/.zshenv
[ -f ~/.travis/travis.sh ] && source ~/.travis/travis.sh

Loading…
Cancel
Save