fish-shell/share/functions/__fish_bind_test2.fish
liljencrantz cf8e746d0c First stab at dropping all support for readlines inputrc files and instead using an internal system for performing keybinding.
darcs-hash:20070925161447-75c98-1feaef88a4b518badb7879f598f06ab650a8f93b.gz
2007-09-26 02:14:47 +10:00

20 lines
210 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