From e9da760defe26147c9986851e3e44a930dc3a35b Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Feb 2020 16:37:48 +0100 Subject: [PATCH] fix stdout descriptor --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 476f35a..5fc65e1 100755 --- a/install.sh +++ b/install.sh @@ -188,7 +188,7 @@ function brethil_dotfiles_setup { $install_command $PACKAGES # prepare .zshrc - exec 1>&3 # save stdout + exec 3>&1 # save stdout exec 1>$HOME/.zshrc echo "source $antigen_path" echo -e "\n\n# brethil's dotfiles:" @@ -197,6 +197,7 @@ function brethil_dotfiles_setup { echo "DOTFILES=$DOTFILES" echo "source \$DOTFILES/brethil_dotfile.sh" echo -e "# End of brethil's dotfiles\n\n" + exec 1>&3 # restore stdout fix_annoyances # Install vim awesomerc (git amix/vimrc)