From b9009eba96049b3fe0f62c4ee6489573b6e66d17 Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 18 Apr 2007 08:56:58 +1000 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20070417225658-ac50b-26178885ea4f8693858a74cec57a743831430634.gz --- share/functions/__fish_complete_vi.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/functions/__fish_complete_vi.fish') 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' -- cgit v1.2.3