fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMark private functions that don't need localizationa53db7256

master
429 B13 linesraw
1# localization: skip(private)
2function __fish_complete_command --description 'Complete using all available commands'
3    set -l ctoken "$(commandline -ct)"
4    switch $ctoken
5        case '*=*'
6            set ctoken (string split "=" -- $ctoken)
7            complete -C "$ctoken[2]"
8        case '-*' # do not try to complete options as commands
9            return
10        case '*'
11            complete -C "$ctoken"
12    end
13end