Browse Source

add func scr

pull/1/head
10sr 11 years ago
parent
commit
30fc401447
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      bashrc

+ 5
- 0
bashrc View File

@@ -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


Loading…
Cancel
Save