mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-08 16:21:16 -03:00
completions/git: define function before use
This commit is contained in:
@@ -36,6 +36,10 @@ touch foo
|
||||
complete -C'git add '
|
||||
#CHECK: foo Untracked file
|
||||
|
||||
git config alias.s status
|
||||
complete 'git s --s'
|
||||
# CHECK --short
|
||||
|
||||
# Note: We can't rely on the initial branch because that might be
|
||||
# "master", or it could be changed to something else in future!
|
||||
git checkout -b newbranch >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user