From 7f629d542536d4870e0b42640bed85e2f82e2c76 Mon Sep 17 00:00:00 2001 From: adphi Date: Mon, 23 Apr 2018 10:58:35 +0200 Subject: [PATCH] Fix .zshrc updates --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index d33a343..fba7799 100644 --- a/install.sh +++ b/install.sh @@ -17,8 +17,9 @@ base=https://github.com/docker/machine/releases/download/v0.14.0 && sudo install /tmp/docker-machine /usr/local/bin/docker-machine echo "\nInstalling ZSH Docker Compose auto completion\n" -echo "fpath=(~/.zsh/completion $fpath)" > ~/.zshrc -echo "autoload -Uz compinit && compinit -i" > ~/.zshrc +echo "fpath=(~/.zsh/completion $fpath)" >> ~/.zshrc +echo "autoload -Uz compinit && compinit -i" >> ~/.zshrc echo "\nRefreshing ZSH Env\n" -source ~/.zshrc +exec $SHELL -l +