From c784301f24d83beb888e40b3676726cf3c609cfe Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 25 Jun 2012 16:32:01 +0900 Subject: [PATCH] update func --- bashrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bashrc b/bashrc index 8df375c..1f92afe 100755 --- a/bashrc +++ b/bashrc @@ -231,11 +231,12 @@ di(){ ${diffcmd} -u "$@" | ${PAGER} } -throw-away(){ - mkdir -p ~/.my/tb +tb(){ + local tb=~/.my/tb + mkdir -p $tb for file in "$@" do - mv $file ~/.my/tb + mv $file $tb done }