summary refs log tree commit diff stats
path: root/tag-git/config/git
diff options
context:
space:
mode:
authorAlan Pearce2015-08-26 10:08:34 +0200
committerAlan Pearce2015-08-26 10:08:34 +0200
commit03165f6cd7fdd3963d715ae90038ae2d8131f710 (patch)
tree796a103c32a0ace74162df64733480a09dc89e32 /tag-git/config/git
parentb5d24a676866ad93be7ea6175cd29bf155c85ca4 (diff)
downloaddotfiles-03165f6cd7fdd3963d715ae90038ae2d8131f710.tar.lz
dotfiles-03165f6cd7fdd3963d715ae90038ae2d8131f710.tar.zst
dotfiles-03165f6cd7fdd3963d715ae90038ae2d8131f710.zip
Git: Fix delete-merged alias
Diffstat (limited to 'tag-git/config/git')
-rw-r--r--tag-git/config/git/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-git/config/git/config b/tag-git/config/git/config
index c005d2a..2922285 100644
--- a/tag-git/config/git/config
+++ b/tag-git/config/git/config
@@ -19,7 +19,7 @@
 	standup = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --since yesterday --author Alan
 	ignored = ls-files --others -i --exclude-standard
 	pr = pull-request
-	delete-merged = '!sh git branch --merged | grep -v "\\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d'
+	delete-merged = "!sh -c 'git branch --merged | grep -v "\\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d'"
 [github]
 	user = alan@alanpearce.co.uk
 [diff]