installer: remove redundant cp command (#8668)

This commit is contained in:
Jonathan Chang authored and GitHub committed 2020-02-24 20:39:10 +01:00
1 parent 40b013f5f1
commit 0e57142729
1 file changed
+1 -2
+1 -2
View File
@@ -129,10 +129,9 @@ setup_zshrc() {
echo "${GREEN}Using the Oh My Zsh template file and adding it to ~/.zshrc.${RESET}"
cp "$ZSH/templates/zshrc.zsh-template" ~/.zshrc
sed "/^export ZSH=/ c\\
export ZSH=\"$ZSH\"
" ~/.zshrc > ~/.zshrc-omztemp
" "$ZSH/templates/zshrc.zsh-template" > ~/.zshrc-omztemp
mv -f ~/.zshrc-omztemp ~/.zshrc
echo