Fix install.sh when called from elsewhere

This commit is contained in:
lhark 2018-08-01 21:43:30 +02:00
parent 14c303f25d
commit 26177fdf80

View file

@ -14,7 +14,9 @@ if [ ! -e "$HOME/.git_user" ]; then
fi fi
# Init or update submodules # Init or update submodules
cd "$SCRIPTPATH"
git submodule update --init --recursive git submodule update --init --recursive
cd -
# Setup fast-syntax-highlighting theme customization # Setup fast-syntax-highlighting theme customization
cp "$SCRIPTPATH/fsh_theme.zsh" "$SCRIPTPATH/current_theme.zsh" cp "$SCRIPTPATH/fsh_theme.zsh" "$SCRIPTPATH/current_theme.zsh"