Initial commit lol
This commit is contained in:
parent
a2318e586a
commit
ed3d2e8ef8
18 changed files with 375 additions and 0 deletions
4
programs/fish/functions/git_branch_name.fish
Normal file
4
programs/fish/functions/git_branch_name.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
git_is_repo; and begin
|
||||
command git symbolic-ref --short HEAD 2> /dev/null;
|
||||
or command git show-ref --head -s --abbrev | head -n1 2> /dev/null
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue