From 54f2a2400314596b4182a44b64f78dc62edb232a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 9 Feb 2010 20:55:03 +0100 Subject: zshrc: fix (m)bk; add bauerbill aliases; update ascidoc_full Signed-off-by: Florian Pritz --- .zshrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 3811782..e13e069 100644 --- a/.zshrc +++ b/.zshrc @@ -242,12 +242,12 @@ rc() { # add current time to a file mbk() { - mv -b "${1}" "$(echo $1 | sed -r "s/(.*)(\.|$)(.*)/\1_`date +%Y-%m-%d_%T`\2\3/")" + mv -b "${1}" "$(echo $1 | sed -r "s/(.*)(\.|$)(.*)/\1_`date +%Y-%m-%d_%H%M%S`\2\3/")" } # easily make backups bk() { - cp -br "${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_%H%M%S`\2\3/")" } # chpwd () => a function which is executed whenever the directory is changed @@ -548,6 +548,8 @@ alias yu='yaourt -Syu' alias p='sudo powerpill' alias pa='sudo powerpill -Syu' alias py='sudo powerpill -S' +alias sbs='sudo bauerbill --aur --build-as flo -S' +alias sb='sudo bauerbill --aur --build-as flo' alias su='su -' @@ -562,7 +564,7 @@ alias yqo='yaourt -Qo' alias yql='yaourt -Ql' # too long to remember -alias asciidoc_full='asciidoc -a icons -a toc' +alias asciidoc_full='asciidoc -a icons -a toc -a linkcss -a quirks!' # other random aliases alias ☠='pkill -9' -- cgit v1.2.3-24-g4f1b