Correct the is_network test to run `bonjour`.
This commit is contained in:
parent
d372d91626
commit
c3ecd3c98d
2
zlogin
2
zlogin
|
@ -15,7 +15,7 @@
|
||||||
#uptime
|
#uptime
|
||||||
|
|
||||||
# If a network connection is available (check function def in zshrc)
|
# If a network connection is available (check function def in zshrc)
|
||||||
if [( is_network )] && [ $(command -v cowsay) ]; then
|
if [$( is_network )] && [ $(command -v cowsay) ]; then
|
||||||
# Affiche un dessin (cf fonction définie dans zshrc)
|
# Affiche un dessin (cf fonction définie dans zshrc)
|
||||||
bonjour
|
bonjour
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue