From adef0e6081789498156fa11455f3ab4f4d36525c Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Mon, 4 Oct 2021 10:43:13 +0200 Subject: [PATCH] feat(git): run `gitk` in the background in `gk` and `gke` aliases (#9657) --- plugins/git/README.md | 4 ++-- plugins/git/git.plugin.zsh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/git/README.md b/plugins/git/README.md index e53d93b0b..05ef25099 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -90,8 +90,8 @@ plugins=(... git) | gignore | git update-index --assume-unchanged | | gignored | git ls-files -v \| grep "^[[:lower:]]" | | git-svn-dcommit-push | git svn dcommit && git push github $(git_main_branch):svntrunk | -| gk | gitk --all --branches | -| gke | gitk --all $(git log -g --pretty=%h) | +| gk | gitk --all --branches &! | +| gke | gitk --all $(git log -g --pretty=%h) &! | | gl | git pull | | glg | git log --stat | | glgp | git log --stat -p | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 76e0faed3..11dff99d9 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -201,8 +201,8 @@ alias gignore='git update-index --assume-unchanged' alias gignored='git ls-files -v | grep "^[[:lower:]]"' alias git-svn-dcommit-push='git svn dcommit && git push github $(git_main_branch):svntrunk' -alias gk='\gitk --all --branches' -alias gke='\gitk --all $(git log -g --pretty=%h)' +alias gk='\gitk --all --branches &!' +alias gke='\gitk --all $(git log -g --pretty=%h) &!' alias gl='git pull' alias glg='git log --stat'