diff options
author | 2007-04-18 08:56:58 +1000 | |
---|---|---|
committer | 2007-04-18 08:56:58 +1000 | |
commit | b9009eba96049b3fe0f62c4ee6489573b6e66d17 (patch) | |
tree | e88785cfdb2850ea26808c0c274109110341c8aa /share/functions/__fish_complete_vi.fish | |
parent | 90c5cea43d2631d7417c951fe74c925e24de2dc7 (diff) |
Remove explicit directory completion from __fish_complete_mime, we only want directory completion as a fallback in order to minimize the number of reasonable completions that are ignored. This issue was reported by Claes Nästén.
darcs-hash:20070417225658-ac50b-26178885ea4f8693858a74cec57a743831430634.gz
Diffstat (limited to 'share/functions/__fish_complete_vi.fish')
-rw-r--r-- | share/functions/__fish_complete_vi.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_complete_vi.fish b/share/functions/__fish_complete_vi.fish index 39a71ac3..78167d2c 100644 --- a/share/functions/__fish_complete_vi.fish +++ b/share/functions/__fish_complete_vi.fish @@ -22,7 +22,7 @@ function __fish_complete_vi -d "Compleletions for vi and its aliases" # +{command} : Execute Ex command after the first file has been read # Complete gzip-compressed files - complete $cmds -x -a "(__fish_complete_suffix .gz)" + complete $cmds -x -a "(__fish_complete_mime 'application/x-gzip')" complete $cmds -s c -r --description 'Execute Ex command after the first file has been read' complete $cmds -s S -r --description 'Source file after the first file has been read' |