File: __fish_bind_test2.fish

package info (click to toggle)
fish 1.23.0-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 6,416 kB
  • ctags: 2,503
  • sloc: ansic: 35,998; sh: 2,818; makefile: 566
file content (20 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (2)
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