git completions installed
This commit is contained in:
parent
6678a31ae7
commit
8855304904
7 changed files with 474 additions and 1 deletions
9
.config/fish/functions/git_feature_branch_prepend.fish
Normal file
9
.config/fish/functions/git_feature_branch_prepend.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
function git_feature_branch_prepend -d 'Detect prepend of feature branches of git repository'
|
||||
command git rev-parse --git-dir &>/dev/null || return
|
||||
if string match -q '*/feat/*' (git show-ref)
|
||||
echo feat
|
||||
return
|
||||
end
|
||||
echo feature
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue