瀏覽代碼

add func scr

pull/1/head
10sr 13 年之前
父節點
當前提交
30fc401447
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      bashrc

+ 5
- 0
bashrc 查看文件

@@ -204,6 +204,11 @@ then
|| complete -o default -o nospace -F _git g || complete -o default -o nospace -F _git g
fi fi


scr(){
_time="%Y-%m-%dT%H:%M:%S%z"
script `date +${_time}`.script "$@"
}

netwait(){ netwait(){
while ! ping example.com -c 1 while ! ping example.com -c 1
do do


Loading…
取消
儲存