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