mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 13:09:45 +08:00
![Johannes Altmanninger](/assets/img/avatar_default.png)
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
|