File: _zed

package info (click to toggle)
zsh 5.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,856 kB
  • sloc: ansic: 108,138; sh: 6,976; makefile: 722; perl: 687; awk: 291; sed: 16
file content (16 lines) | stat: -rw-r--r-- 527 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#compdef zed fned histed

case $service in
(fned) _arguments -S : ':shell function:_functions';;
(histed) _arguments -S : \
	'1:history file:_files' \
	'2:history size: ';;
(zed) _arguments -S : \
        '(-h 1 3 4)-f[edit function]' \
        '(-h 1 3 4)-x+[specify spaces to use for indentation in function expansion]:spaces' \
        '(-f -x 1 2)-h[edit history]' \
        '(- 2 3 4)1:file:_files' \
        '(3 4)2:shell function:_functions' \
        '3:history file:_files -g "*(D)"' \
        '4:history size';;
esac