Browse Source

fix tb for freebsd

pull/1/head
10sr 11 years ago
parent
commit
5e7f638e04
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      shrc

+ 1
- 4
shrc View File

@@ -850,10 +850,7 @@ tb(){
__datenum=`date +%Y%m%d-%H%M%S` __datenum=`date +%Y%m%d-%H%M%S`
__tb="$HOME/.var/tb/$__datenum" __tb="$HOME/.var/tb/$__datenum"
mkdir -p "$__tb" mkdir -p "$__tb"
for file in "$@"
do
mv -t "$__tb" "$file"
done
mv "$@" "$__tb"
} }


mkcd(){ mkcd(){


Loading…
Cancel
Save