diff options
author | Florian Pritz <bluewind@xssn.at> | 2009-10-08 15:06:38 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2009-10-08 15:06:38 +0200 |
commit | ec2677cea89b4daa732f4bbcef478a6affeae53a (patch) | |
tree | 886c7219561b1d4570cc61e16270eef1ee0bdb61 /.zshrc | |
parent | 433d338c765fae4408edebd96c78508f5d070147 (diff) | |
download | dotfiles-ec2677cea89b4daa732f4bbcef478a6affeae53a.tar.gz dotfiles-ec2677cea89b4daa732f4bbcef478a6affeae53a.tar.xz |
zshrc: make bk work with dirs
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |