Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion zsh/.zshrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
ZSH_THEME="gozilla"

plugins=(git ssh-agent zsh-autosuggestions)
plugins=(
z
git
ssh-agent # https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/ssh-agent/README.md
zsh-autosuggestions # https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
zsh-syntax-highlighting # https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
)

# Checkout
alias myscripts="cd ~/scripts"
Expand All @@ -17,6 +23,7 @@ alias reload="source ~/.zshrc"
alias gcb="git branch --show-current | tr -d '\n' | pbcopy"
alias glast="git show --color --pretty=format:%b"
alias gcm='f() { git commit -m "$(git branch --show-current | grep -o "CON-[0-9]\+" ) $1" }; f' # Replace CON- with whatever the convention is
alias gcleanlocal="git branch --merged | grep -v '\*\|master\|main\|develop' | xargs -n 1 git branch -d"

# Open app
alias mine="open -na "RubyMine.app" --args "$@""
Expand Down