diff --git a/.config/bash/.bashrc b/.config/bash/.bashrc index 0c7b8fd..69e53a7 100644 --- a/.config/bash/.bashrc +++ b/.config/bash/.bashrc @@ -167,7 +167,7 @@ git-prune() { } # fuzzy find branches and switch to selected branch -gco() { +gc() { local selected_branch=$(git branch | fzf | sed 's/^[ \*]*//') if [ -n "$selected_branch" ]; then