mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
ce268b74dd
Add completions for trash-cli commands: trash, trash-empty, trash-list, trash-put and trash-restore. ``trash --help`` are used to identify the executable in trash cli completion.
9 lines
511 B
Fish
9 lines
511 B
Fish
# Completions for trash-cli
|
|
# There are many implementations of trash cli tools, but the name ``trash-restore`` is unique.
|
|
|
|
# https://github.com/andreafrancia/trash-cli
|
|
complete -f -c trash-restore -s h -l help -d 'show help message'
|
|
complete -f -c trash-restore -l print-completion -xa 'bash zsh tcsh' -d 'print shell completion script(default: None)'
|
|
complete -f -c trash-restore -l sort -a 'date path none' -d 'sort candidates(default: date)'
|
|
complete -f -c trash-restore -l version -d 'show version number'
|