From 7510c974d91a90f44ca63e3576f9572e4f0dbd70 Mon Sep 17 00:00:00 2001 From: Julien Rabier Date: Sun, 2 Apr 2023 15:33:30 +0200 Subject: [PATCH] [zsh] add function to open all untracked/unstaged files in vi --- dot_zsh/functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_zsh/functions b/dot_zsh/functions index 366f87f..d1d5aba 100644 --- a/dot_zsh/functions +++ b/dot_zsh/functions @@ -16,3 +16,7 @@ deploy_dotfiles () { && echo "Déploiement terminé avec succès" \ || echo "Déploiement échoué" } + +gitvim () { + vi -p $(git status --short | awk ' { print $2 } ') +}