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
Oh My Zsh
Commits
d2667bd0
Commit
d2667bd0
authored
Feb 10, 2015
by
Robby Russell
Browse files
Merge pull request #3353 from mizabrik/master
Save ZSH path in newly created .zshrc
parents
17216bee
c6a8b2ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/install.sh
View file @
d2667bd0
...
@@ -23,8 +23,8 @@ fi
...
@@ -23,8 +23,8 @@ fi
echo
"
\0
33[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc
\0
33[0m"
echo
"
\0
33[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc
\0
33[0m"
cp
$ZSH
/templates/zshrc.zsh-template ~/.zshrc
cp
$ZSH
/templates/zshrc.zsh-template ~/.zshrc
sed
-i
-e
"/^ZSH=/ c
\\
sed
-i
-e
"/^
export
ZSH=/ c
\\
ZSH=
$ZSH
export
ZSH=
$ZSH
"
~/.zshrc
"
~/.zshrc
echo
"
\0
33[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.
\0
33[0m"
echo
"
\0
33[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.
\0
33[0m"
...
...
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