zsh/compdef/_re

8 lines
258 B
Plaintext
Raw Normal View History

2018-01-22 12:09:53 +00:00
#compdef re
2018-03-11 11:19:47 +00:00
_arguments -A "*" \
'--dir[directory]:dirname:_dirs' '-d[directory]:dirname:_dirs' \
'--dry-run[dont run, just display]' '-n[dont run, just display]' \
'--edit[open in editor]' '-e[open in editor]' \
":script:_files -W $XDG_CONFIG_HOME/re/"