mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 07:21:14 -03:00
Let . and : be completed with files
For `.` it's *correct* and for `:` it literally accepts everything
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user