blob: b2ce278143f2187770f6b8b381256bcd0284618a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
function __fish_no_arguments -d "Internal fish function"
set -l cmd (commandline -poc) (commandline -tc)
set -e cmd[1]
for i in $cmd
switch $i
case '-*'
case '*'
return 1
end
end
return 0
end
|