From a62114c91f2070c8c8453d117f3d81dc113e41ff Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Mon, 25 Mar 2024 16:43:09 +0530 Subject: dotfile update --- zsh/oh-my-zsh/plugins/cp/README.md | 32 -------------------------------- zsh/oh-my-zsh/plugins/cp/cp.plugin.zsh | 4 ---- 2 files changed, 36 deletions(-) delete mode 100644 zsh/oh-my-zsh/plugins/cp/README.md delete mode 100644 zsh/oh-my-zsh/plugins/cp/cp.plugin.zsh (limited to 'zsh/oh-my-zsh/plugins/cp') diff --git a/zsh/oh-my-zsh/plugins/cp/README.md b/zsh/oh-my-zsh/plugins/cp/README.md deleted file mode 100644 index 2373424..0000000 --- a/zsh/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-$USERNAME"`: move backup copies to "/tmp/rsync-$USERNAME". - -* `-e /dev/null`: only work on local files (disable remote shells). - -* `--progress`: display progress. diff --git a/zsh/oh-my-zsh/plugins/cp/cp.plugin.zsh b/zsh/oh-my-zsh/plugins/cp/cp.plugin.zsh deleted file mode 100644 index a562591..0000000 --- a/zsh/oh-my-zsh/plugins/cp/cp.plugin.zsh +++ /dev/null @@ -1,4 +0,0 @@ -cpv() { - rsync -pogbr -hhh --backup-dir="/tmp/rsync-${USERNAME}" -e /dev/null --progress "$@" -} -compdef _files cpv -- cgit v1.2.3-59-g8ed1b