summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index e330eb4..e32291d 100644
--- a/.zshrc
+++ b/.zshrc
@@ -173,7 +173,7 @@ mbk() {
# easily make backups
bk() {
- cp -b "${1}" "$(echo $1 | sed -r "s/(.*)(\.|$)(.*)/\1_`date +%Y-%m-%d_%T`\2\3/")"
+ cp -br "${1}" "$(echo $1 | sed -r "s/(.*)(\.|$)(.*)/\1_`date +%Y-%m-%d_%T`\2\3/")"
}
# chpwd () => a function which is executed whenever the directory is changed