diff options
Diffstat (limited to 'share/functions/__fish_complete_vi.fish')
-rw-r--r-- | share/functions/__fish_complete_vi.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/functions/__fish_complete_vi.fish b/share/functions/__fish_complete_vi.fish index 7b756f29..ba7dc10b 100644 --- a/share/functions/__fish_complete_vi.fish +++ b/share/functions/__fish_complete_vi.fish @@ -4,13 +4,13 @@ function __fish_complete_vi -d "Compleletions for vi and its aliases" set -l is_vim command vi --version >/dev/null ^/dev/null; and set is_vim vim - + set -l cmds -c $argv # vim if test -n "$is_vim" - + # these don't work #complete $cmds -a - --description 'The file to edit is read from stdin. Commands are read from stderr, which should be a tty' @@ -105,7 +105,7 @@ function __fish_complete_vi -d "Compleletions for vi and its aliases" complete $cmds -r -c t --description 'Begin editing by executing the specified editor command' end - + end |