From 6a721fab63ce5201b0876b355aab9afe9635594d Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sat, 4 Apr 2020 20:31:38 +0200 Subject: [PATCH] Let . and : be completed with files For `.` it's *correct* and for `:` it literally accepts everything --- share/functions/__fish_config_interactive.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index faef0ef05..2d1169671 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -168,7 +168,7 @@ function __fish_config_interactive -d "Initializations that should be performed # # Only a few builtins take filenames; initialize the rest with no file completions # - complete -c(builtin -n | string match -rv '(source|cd|exec|realpath|set|\\[|test|for)') --no-files + complete -c(builtin -n | string match -rv '(\.|:|source|cd|exec|realpath|set|\\[|test|for)') --no-files # Reload key bindings when binding variable change function __fish_reload_key_bindings -d "Reload key bindings when binding variable change" --on-variable fish_key_bindings