I have the following in my .zshrc:
# if read -q; then
# echo; zplug install
# fi
[[ read -q; ]] && echo; zplug install
The bit that is commented out worked, but I would prefer something on one line, so I attempted to use a less verbose form. Why does it not work?
I get /Users/brandon/.zshrc:62: parse error: condition expected: read.
Aucun commentaire:
Enregistrer un commentaire