ソースを参照

add func netwait

pull/1/head
10sr 11年前
コミット
b3808bf6c9
1個のファイルの変更8行の追加0行の削除
  1. +8
    -0
      bashrc

+ 8
- 0
bashrc ファイルの表示

@@ -203,6 +203,14 @@ then
|| complete -o default -o nospace -F _git g
fi

netwait(){
while ! ping example.com -c 1
do
true
done
echo network works.
}

cd(){
if test $# -eq 0
then


読み込み中…
キャンセル
保存