Skip to content

Commit

Permalink
Moving over to zsh for general use
Browse files Browse the repository at this point in the history
  • Loading branch information
bendilley committed Jan 30, 2023
1 parent ecb42e6 commit ed7b1c8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,21 @@ bindkey "\033OH" beginning-of-line
bindkey "\033OF" end-of-line

export KUBE_PS1_NS_ENABLE=false
source "/usr/local/opt/kube-ps1/share/kube-ps1.sh"
source "$(brew --prefix)/opt/kube-ps1/share/kube-ps1.sh"
PS1='$(kube_ps1)'$PS1

# rbenv: enable shims and autocompletion
eval "$(rbenv init -)"

export PATH=$HOME/bin:$PATH
source $HOME/.bash_aliases
export GPG_TTY=$(tty)

function sshi() { ssh -G $1 | grep localforward; ssh $1; }

function deploy() {
export BUNDLE_SUPPRESS_INSTALL_USING_MESSAGES=true
git merge --ff-only $1 && git push && bundle install && SOURCE_BRANCH=$1 bin/cap `git rev-parse --abbrev-ref HEAD` deploy
}

setopt no_share_history

0 comments on commit ed7b1c8

Please sign in to comment.