Server IP : 51.89.169.208 / Your IP : 216.73.216.211 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/share/zsh/5.5.1/functions/ |
Upload File : |
#compdef mv gmv local args if _pick_variant gnu=GNU unix --version; then args=( '(-b --backup -n --no-clobber)--backup=[make a backup of each existing destination file]: : _values "backup type" {none,off}"[never make backups]" {numbered,t}"[make numbered backups]" {existing,nil}"[numbered backups, if they already exist]" {simple,never}"[always make simple backups]"' '(-b --backup -n --no-clobber)-b[make a backup of each existing destination file]' '(-f --force -i --interactive -n --no-clobber)'{-f,--force}"[don't prompt before overwriting]" '(-f --force -i --interactive -n --no-clobber)'{-i,--interactive}'[prompt before overwriting existing file]' '--strip-trailing-slashes[remove any trailing slashes from each source argument]' '(-S --suffix)'{-S+,--suffix=}'[specify the backup suffix]:backup suffix [~]' '(-t --target-directory)'{-t+,--target-directory=}'[move all source arguments into specified directory]:directory:_directories' '(-T --no-target-directory)'{-T,--no-target-directory}'[treat final argument as a normal file]' '(-u --update)'{-u,--update}'[move only when destination file is older or missing]' '(-v --verbose)'{-v,--verbose}'[show file names after they are moved]' '(- *)--help[display usage information]' '(- *)--version[display version information]' ) [[ $OSTYPE = linux* ]] && args+=( '(-Z --context)'{-Z,--context}'[set SELinux security context of destination file to default type]' ) else local pattern arg args=( "(-i -n)-f[don't prompt before overwriting]" '(-f -n)-i[prompt before overwriting existing file]' ) for pattern arg in \ '(darwin|dragonfly|freebsd)*' "(-f -i)-n[don't overwrite existing file]" \ '(darwin|dragonfly|*bsd)*' '-v[show file names after they are moved]' \ '(dragonfly|freebsd)*' "-h[if target is a symlink to a directory, don't follow it]" do [[ $OSTYPE = $~pattern ]] && args+=( $arg ) done fi _arguments -s -S $args \ '*:file:_files'