From 571460e5602c1fbf31370d7e87d6ffd625ca413f Mon Sep 17 00:00:00 2001 From: Kes Date: Wed, 3 Apr 2019 09:50:29 -0400 Subject: [PATCH] Modified git checkout branch script. I needed to add the --no-pager attribute to make it work. --- Examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples.md b/Examples.md index 7400d71..84b1685 100644 --- a/Examples.md +++ b/Examples.md @@ -388,7 +388,7 @@ List all available git commands and help with [`git-commands`](https://github.co # fbr - checkout git branch fbr() { local branches branch - branches=$(git branch -vv) && + branches=$(git --no-pager branch -vv) && branch=$(echo "$branches" | fzf +m) && git checkout $(echo "$branch" | awk '{print $1}' | sed "s/.* //") }