zsh/update: refactor

This commit is contained in:
Henrik Lissner 2016-12-15 21:22:00 -05:00
parent 08d955176b
commit 60197ed27d

View file

@ -1 +1,5 @@
is-callable zgen && zgen update
#!/usr/bin/env bash
if command -v zgen >/dev/null; then
zgen selfupdate
zgen update
fi