diff options
author | Marvin Borner | 2020-03-16 23:33:42 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-16 23:33:42 +0100 |
commit | 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch) | |
tree | 719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/cp | |
parent | e5d38956336ab1be954bdbd12808c5f98f8bd925 (diff) |
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/cp')
-rw-r--r-- | .oh-my-zsh/plugins/cp/README.md | 32 | ||||
-rw-r--r-- | .oh-my-zsh/plugins/cp/cp.plugin.zsh | 4 |
2 files changed, 0 insertions, 36 deletions
diff --git a/.oh-my-zsh/plugins/cp/README.md b/.oh-my-zsh/plugins/cp/README.md deleted file mode 100644 index e8a9b6c..0000000 --- a/.oh-my-zsh/plugins/cp/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# cp plugin - -This plugin defines a `cpv` function that uses `rsync` so that you -get the features and security of this command. - -To enable, add `cp` to your `plugins` array in your zshrc file: - -```zsh -plugins=(... cp) -``` - -## Description - -The enabled options for rsync are: - -- `-p`: preserves permissions. - -- `-o`: preserves owner. - -* `-g`: preserves group. - -* `-b`: make a backup of the original file instead of overwriting it, if it exists. - -* `-r`: recurse directories. - -* `-hhh`: outputs numbers in human-readable format, in units of 1024 (K, M, G, T). - -* `--backup-dir=/tmp/rsync`: move backup copies to "/tmp/rsync". - -* `-e /dev/null`: only work on local files (disable remote shells). - -* `--progress`: display progress. diff --git a/.oh-my-zsh/plugins/cp/cp.plugin.zsh b/.oh-my-zsh/plugins/cp/cp.plugin.zsh deleted file mode 100644 index fe6ea87..0000000 --- a/.oh-my-zsh/plugins/cp/cp.plugin.zsh +++ /dev/null @@ -1,4 +0,0 @@ -cpv() { - rsync -pogbr -hhh --backup-dir=/tmp/rsync -e /dev/null --progress "$@" -} -compdef _files cpv |