From 0d5cc3c64bd33e44bfd7a0c2e94919655db2cc37 Mon Sep 17 00:00:00 2001 From: Diego Marrufo Date: Sat, 24 May 2025 17:42:45 +0200 Subject: [PATCH] add plugins and links. Added command to clean merged branches in git --- zsh/.zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 6f7893e..8be9bb2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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" @@ -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 "$@""