aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Terje Larsen <terlar@gmail.com>2012-10-22 20:54:33 +0200
committerGravatar Terje Larsen <terlar@gmail.com>2012-10-22 20:54:33 +0200
commit4a37d6d1f9c92a23203945070489ad0c7296ae94 (patch)
tree075be220d7fac2e2ed9bad81d1debd325293ce16
parent8dfc8625a7ac2f622bc931ce74d48f1b2a38eea6 (diff)
Remove remotes prefix from branches
-rw-r--r--share/completions/git.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/git.fish b/share/completions/git.fish
index 2dde6f84..5b21f7ef 100644
--- a/share/completions/git.fish
+++ b/share/completions/git.fish
@@ -1,7 +1,7 @@
# fish completion for git
function __fish_git_branches
- git branch --no-color -a 2>/dev/null | sed 's/^..//'
+ git branch --no-color -a 2>/dev/null | sed 's/^..//; s/^remotes\///'
end
function __fish_git_tags