fish-shell/share/completions/mv.fish
axel 8b73bac580 Rename __fish_complete_directory to increase consistency
darcs-hash:20061202233433-ac50b-48368a338773ad47807b0032389fd305d86b3275.gz
2006-12-03 09:34:33 +10:00

13 lines
834 B
Fish

complete -c mv -s b -l backup -d (N_ "Make backup of each existing destination file")
complete -c mv -s f -l force -d (N_ "Do not prompt before overwriting")
complete -c mv -s i -l interactive -d (N_ "Prompt before overwrite")
complete -c mv -l reply -x -a "yes no query" -d (N_ "Answer for overwrite questions")
complete -c mv -l strip-trailing-slashes -d (N_ "Remove trailing slashes from source")
complete -c mv -s S -l suffix -r -d (N_ "Backup suffix")
complete -c mv -l target-directory -d (N_ "Target directory") -x -a "(__fish_complete_directories (commandline -ct) 'Target directory')"
complete -c mv -s u -l update -d (N_ "Do not overwrite newer files")
complete -c mv -s v -l verbose -d (N_ "Verbose mode")
complete -c mv -l help -d (N_ "Display help and exit")
complete -c mv -l version -d (N_ "Display version and exit")