2019-03-01 15:59:17 -08:00
|
|
|
#compdef fedit
|
|
|
|
local arguments
|
|
|
|
|
|
|
|
arguments=(
|
2019-03-13 21:35:19 -07:00
|
|
|
{-h,--help}'[show this help message and exit]'
|
|
|
|
{-b,--boot}'[edit a file in /boot]'
|
|
|
|
{-d,--dir}'[edit a file in a given directory]'
|
|
|
|
{-E,--etc}'[edit a file in /etc]'
|
|
|
|
{-e,--editor}'[use a given editor]'
|
2019-03-20 14:32:29 -07:00
|
|
|
{-I,--no-ignore}'[do not respect .(git|fd)ignore files]'
|
|
|
|
{-i,--no-ignore-vcs}'[do not respect .gitignore files]'
|
2019-03-01 15:59:17 -08:00
|
|
|
'*:filename:_files'
|
|
|
|
)
|
|
|
|
|
|
|
|
_arguments -s $arguments
|