mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
Re-add completions for source and ., to prefer *.fish files
This is mildly useful when activating virtualenvs. We had remove these files earlier, but since there are no more false negatives from __fish_complete_suffix it seems safe to re-add them.
This commit is contained in:
parent
7a53c40fd4
commit
0729c2be4c
1
share/completions/..fish
Normal file
1
share/completions/..fish
Normal file
|
@ -0,0 +1 @@
|
|||
complete . -w source
|
2
share/completions/source.fish
Normal file
2
share/completions/source.fish
Normal file
|
@ -0,0 +1,2 @@
|
|||
complete source -k -xa '(__fish_complete_suffix .fish)'
|
||||
complete source -s h -l help -d 'Display help and exit'
|
Loading…
Reference in New Issue
Block a user