fish-shell/share/completions/source.fish
Johannes Altmanninger 582675c96a completions/git: restore forward-compatibility by using "complete -c"
After a fish installation is upgraded to 3.2.0, active shells could
throw an error attempting to load Git completions. It's just a
transient error but also easily avoidable by using the old style.

See #7822
2021-03-15 22:34:30 +01:00

3 lines
118 B
Fish

complete -c source -k -xa '(__fish_complete_suffix .fish)'
complete -c source -s h -l help -d 'Display help and exit'