This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
add func netwait
pull/1/head
10sr
12 years ago
parent
337862cedb
commit
b3808bf6c9
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
bashrc
+ 8
- 0
bashrc
View File
@@ -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
Write
Preview
Loading…
Cancel
Save