fork/fish-shell

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

Johannes AltmanningerMark private functions that don't need localizationa53db7256

master
299 B14 linesraw
1# localization: skip(private)
2function __fish_no_arguments -d "Internal fish function"
3    set -l cmd (commandline -pxc) (commandline -tc)
4    set -e cmd[1]
5    for i in $cmd
6        switch $i
7            case '-*'
8
9            case '*'
10                return 1
11        end
12    end
13    return 0
14end