From cc85564a7b5fb63227ee49968113be294bc44023 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 25 Oct 2022 12:53:28 +0300 Subject: [PATCH] zsh: add git switch alias --- zsh/functions.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 69e01b6..378343e 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -46,6 +46,7 @@ gsi() { tig status } gci() { command git commit $@ } gsl() { command git stash list $@ } gss() { command git status -sbu $@ } +gsw() { command git switch $@ } gup() { command git pull $@ } groot() { cd $(command git rev-parse --show-toplevel) || return 1 } ggrep() { command git grep $@ }