mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
36693e4391
If the command is empty, try to complete starting from the empty command instead of the whole commandline.
4 lines
125 B
Fish
4 lines
125 B
Fish
function __fish_complete_external_command
|
|
command find $PATH/ -maxdepth 1 -perm -u+x 2>&- | string match -r '[^/]*$'
|
|
end
|