aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_bind_test2.fish
blob: 4c7f684acc9bad58bf78f5b6b56589f4cdae4cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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