Merge branch 'master' of github.com:revans/bash-it

pull/36/head
Mark Szymanski 2010-12-14 18:37:27 -06:00
commit aceb959c6b
1 changed files with 7 additions and 1 deletions

View File

@ -87,4 +87,10 @@ function plugins-help() {
| grep -v "COMPREPLY=()" | sed -e "s/()//"
}
# back up file with timestamp
# useful for administrators and configs
buf () {
filename=$1
filetime=$(date +%Y%m%d_%H%M%S)
cp ${filename} ${filename}_${filetime}
}