Skip to content

Instantly share code, notes, and snippets.

@presuku
Created December 20, 2016 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save presuku/417b9051721a43355c50f2c37cb4a9a0 to your computer and use it in GitHub Desktop.
Save presuku/417b9051721a43355c50f2c37cb4a9a0 to your computer and use it in GitHub Desktop.
Use peco and sed instead of fzy and perl.
git branch --color -a | grep -v '*' | sed -E 's/^ +//' | peco | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment