Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0e571427
Unverified
Commit
0e571427
authored
Feb 25, 2020
by
Jonathan Chang
Committed by
GitHub
Feb 24, 2020
Browse files
installer: remove redundant cp command (#8668)
parent
40b013f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/install.sh
View file @
0e571427
...
@@ -129,10 +129,9 @@ setup_zshrc() {
...
@@ -129,10 +129,9 @@ setup_zshrc() {
echo
"
${
GREEN
}
Using the Oh My Zsh template file and adding it to ~/.zshrc.
${
RESET
}
"
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
\\
sed
"/^export ZSH=/ c
\\
export ZSH=
\"
$ZSH
\"
export ZSH=
\"
$ZSH
\"
"
~/.zshrc
>
~/.zshrc-omztemp
"
"
$ZSH
/templates/zshrc.zsh-template"
>
~/.zshrc-omztemp
mv
-f
~/.zshrc-omztemp ~/.zshrc
mv
-f
~/.zshrc-omztemp ~/.zshrc
echo
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment