diff --git a/Examples.md b/Examples.md index 2d48428..58b82b2 100644 --- a/Examples.md +++ b/Examples.md @@ -125,7 +125,8 @@ fbr() { fbr() { local branches branch branches=$(git branch --all | grep -v HEAD) && - branch=$(echo "$branches" | fzf-tmux -h 15 +m) && + branch=$(echo "$branches" | + fzf-tmux -d $(( 2 + $(wc -l <<< "$branches") )) +m) && git checkout $(echo "$branch" | sed "s/.* //" | sed "s#remotes/[^/]*/##") } ```