diff --git a/_fedit b/_fedit new file mode 100644 index 0000000..70c462a --- /dev/null +++ b/_fedit @@ -0,0 +1,15 @@ +#compdef fedit +local arguments + +arguments=( + {-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]' + {-I,--no-ignore}'[do not respect .(git|fd)ignore files]' + {-i,--no-ignore-vcs}'[do not respect .gitignore files]' + '*:filename:_files' +) + +_arguments -s $arguments diff --git a/_quickdel b/_quickdel new file mode 100644 index 0000000..566613a --- /dev/null +++ b/_quickdel @@ -0,0 +1,20 @@ +#compdef quickdel + +# ========== Completions ========== +local arguments + +arguments=( + {-d,--directories-only}'[filter results to directories]' + {-e,--empty-only}'[filter results to empty files and directories]' + {-f,--files-only}'[filter results to files]' + {-F,--force-directory-delete}'[do not ignore non-empty directories, delete anyways]' + {-E,--extension}'[file extension]' + {-h,--help}'[print this help page]' + {-i,--no-ignore}'[do not ignore .gitignore and .fdignore]' + {-I,--no-ignore-vcs}'[do not ignore .gitignore]' + {-l,--links-only}'[filter results to symlinks]' + '*:filename:_files' +) + + +_arguments -s $arguments