From 60197ed27d2d9607751f5cc741ef22af0aafcf62 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 15 Dec 2016 21:22:00 -0500 Subject: [PATCH] zsh/update: refactor --- shell/zsh/update | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/zsh/update b/shell/zsh/update index e57f20c6..68bf7d7a 100755 --- a/shell/zsh/update +++ b/shell/zsh/update @@ -1 +1,5 @@ -is-callable zgen && zgen update +#!/usr/bin/env bash +if command -v zgen >/dev/null; then + zgen selfupdate + zgen update +fi