diff --git a/bashrc b/bashrc index 9b32f4a..4ec3c2e 100755 --- a/bashrc +++ b/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