shitbox/pkg/usr/share/fish/completions/mktemp.fish

7 lines
492 B
Fish

complete -c mktemp -s p -l tmpdir -d 'specify the directory to create temporary files in' -r -f -a "(__fish_complete_directories)"
complete -c mktemp -s t -l template -d 'specify a prefix to append to the created files' -r
complete -c mktemp -s d -l directory -d 'create a directory instead of a file'
complete -c mktemp -s u -l dryrun -d 'immediately remove created files and directories'
complete -c mktemp -s h -l help -d 'Print help'
complete -c mktemp -s V -l version -d 'Print version'