Created
July 30, 2018 15:12
-
-
Save Drowze/e295a2b5ca7bcc8cd20cc7c8e83c1b18 to your computer and use it in GitHub Desktop.
cur-branch.fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cur_branch --description "Returns the name of the current git branch" | |
git rev-parse --abbrev-ref HEAD | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment