diff options
author | Bart Schaefer <schaefer@ipost.com> | 2021-05-15 13:37:35 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-05-15 13:37:35 -0700 |
commit | acd20254b58ea689d8046ff127bc320d5fa91cf6 (patch) | |
tree | 94be5aa8f554076d07a91b0a650e19654883fe52 /Completion/Zsh/Command | |
parent | 3fe6bd56ed792920cac4385275b0482a63c47a0c (diff) | |
download | zsh-acd20254b58ea689d8046ff127bc320d5fa91cf6.tar.gz zsh-acd20254b58ea689d8046ff127bc320d5fa91cf6.tar.xz zsh-acd20254b58ea689d8046ff127bc320d5fa91cf6.zip |
48710: histed + other zed updates
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r-- | Completion/Zsh/Command/_zed | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Completion/Zsh/Command/_zed b/Completion/Zsh/Command/_zed index 6b68fadf0..f84993d73 100644 --- a/Completion/Zsh/Command/_zed +++ b/Completion/Zsh/Command/_zed @@ -1,10 +1,16 @@ -#compdef zed fned +#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 : \ - '(- 2):file:_files' \ - '(1):shell function:_functions' \ - '(1)-x+[specify spaces to use for indentation in function expansion]:spaces' \ - '(1)-f[edit function]';; + '(-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 |