Correct the is_network test to run `bonjour`.

This commit is contained in:
gardouille 2017-09-12 09:58:27 +02:00
parent d372d91626
commit c3ecd3c98d
1 changed files with 1 additions and 1 deletions

2
zlogin
View File

@ -15,7 +15,7 @@
#uptime
# 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)
bonjour
fi