shell/zsh: fix update script failing to detect zgen

This commit is contained in:
Henrik Lissner 2016-12-26 00:28:11 -05:00
parent 22fe7c3165
commit bb3e9f497c

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash
if command -v zgen >/dev/null; then
#!/usr/bin/env zsh
if [[ -e ~/.zgen/zgen.zsh ]] then
source ~/.zgen/zgen.zsh
zgen selfupdate
zgen update
fi