mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03: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:
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'
|
||||
Reference in New Issue
Block a user