fish-shell/share/functions/__fish_bind_test2.fish
2017-08-04 18:02:24 -07:00

20 lines
277 B
Fish

function __fish_bind_test2
set -l args
for i in (commandline -poc)
switch $i
case "-*"
case "*"
set -a args $i
end
end
switch (count $args)
case 2
return 0
end
return 1
end