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
c6a8b2ea
Commit
c6a8b2ea
authored
Nov 28, 2014
by
mizabrik
Browse files
Save ZSH path in newly created .zshrc
parent
43aa3783
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/install.sh
View file @
c6a8b2ea
...
@@ -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