From 889bcf597cd9c559a596b43f655a7066a60a09bc Mon Sep 17 00:00:00 2001 From: myockey Date: Wed, 26 Feb 2020 14:40:16 -0500 Subject: [PATCH] Prevent sed from creating a backup zshrc --- install.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.zsh b/install.zsh index 98dbba2..e80ad16 100755 --- a/install.zsh +++ b/install.zsh @@ -61,7 +61,7 @@ cp -rf packages $INSTALL_DIR/packages cp -f zshrc $INSTALL_DIR/zshrc # Insert the INSTALL_DIR variable into the installed run control file -sed -i -e "1 i\\ +sed -i "" -e "1 i\\ INSTALL_DIR=$INSTALL_DIR\\ " $INSTALL_DIR/zshrc