From bb3e9f497ca3a6ea2349757037cea23350534a68 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 26 Dec 2016 00:28:11 -0500 Subject: [PATCH] shell/zsh: fix update script failing to detect zgen --- shell/zsh/update | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/zsh/update b/shell/zsh/update index 68bf7d7a..e213f1a1 100755 --- a/shell/zsh/update +++ b/shell/zsh/update @@ -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