mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-29 00:10:12 +08:00
Write install path into .zshrc
This commit is contained in:
parent
5bd590ceb3
commit
2e11e2ab5a
@ -24,6 +24,9 @@ fi
|
|||||||
|
|
||||||
echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m"
|
echo "\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m"
|
||||||
cp $ZSH/templates/zshrc.zsh-template ~/.zshrc
|
cp $ZSH/templates/zshrc.zsh-template ~/.zshrc
|
||||||
|
sed -i -e "/^ZSH=/ c\\
|
||||||
|
ZSH=$ZSH
|
||||||
|
" ~/.zshrc
|
||||||
|
|
||||||
echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"
|
echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m"
|
||||||
sed -i -e "/export PATH=/ c\\
|
sed -i -e "/export PATH=/ c\\
|
||||||
|
Loading…
Reference in New Issue
Block a user