From 26177fdf80366e0ca033dd8096cb1557b94debe3 Mon Sep 17 00:00:00 2001 From: lhark Date: Wed, 1 Aug 2018 21:43:30 +0200 Subject: [PATCH] Fix install.sh when called from elsewhere --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 2c3ee6b..7e2d432 100755 --- a/install.sh +++ b/install.sh @@ -14,7 +14,9 @@ if [ ! -e "$HOME/.git_user" ]; then fi # Init or update submodules +cd "$SCRIPTPATH" git submodule update --init --recursive +cd - # Setup fast-syntax-highlighting theme customization cp "$SCRIPTPATH/fsh_theme.zsh" "$SCRIPTPATH/current_theme.zsh"