From 30fc401447d93f0ce1164cb59820ef6ee0c84c1b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 16 Sep 2012 15:00:28 +0900 Subject: [PATCH] add func scr --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bashrc b/bashrc index e911517..9b3c59d 100755 --- a/bashrc +++ b/bashrc @@ -204,6 +204,11 @@ then || complete -o default -o nospace -F _git g fi +scr(){ + _time="%Y-%m-%dT%H:%M:%S%z" + script `date +${_time}`.script "$@" +} + netwait(){ while ! ping example.com -c 1 do