Skip to content

Instantly share code, notes, and snippets.

@didierfranc
Last active December 12, 2018 11:31
Show Gist options
  • Save didierfranc/4e70b41bea3679ad2a245eebbf145c9e to your computer and use it in GitHub Desktop.
Save didierfranc/4e70b41bea3679ad2a245eebbf145c9e to your computer and use it in GitHub Desktop.
Fish cool functions 🐠
# Display the current branch
function fish_right_prompt
echo (git rev-parse --abbrev-ref HEAD 2> /dev/null)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment