zsh/compdef/_re
2018-03-11 12:22:45 +01:00

8 lines
258 B
Plaintext

#compdef re
_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/"