X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e45b0db3d66ca9e041622db3d801d026fb4d3724..33230b65afa1076218abff057d0bbcc7486af0a8:/.zsh/zshrc/20-autoload_zsh_file_manipulation_functions diff --git a/.zsh/zshrc/20-autoload_zsh_file_manipulation_functions b/.zsh/zshrc/20-autoload_zsh_file_manipulation_functions new file mode 100644 index 0000000..1cdcb93 --- /dev/null +++ b/.zsh/zshrc/20-autoload_zsh_file_manipulation_functions @@ -0,0 +1,21 @@ +# +# Autoload some smart replacements of common functionality implemented in zsh +# +# Copyright © 1994–2017 martin f. krafft +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: http://git.madduck.net/v/etc/zsh.git +# + +# smart xargs replacement +autoload -U zargs + +# programmable moving, copying, and linking +autoload -U zmv + +alias zmv='noglob zmv' +alias mmv='zmv -W' +alias zcp='zmv -C' +alias zln='zmv -L' + +# vim:ft=zsh