fish-shell/share/functions/__fish_bind_test2.fish
Kurtis Rader 088b21a15f Revert "use the new set -a and set -p in our scripts"
This reverts commit 8b79f4e5c9.
It was meant for the major branch.
2017-08-13 15:32:16 -07:00

21 lines
281 B
Fish

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