mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge 7e3f2342eb into 3d6f9d78c5
This commit is contained in:
commit
4e56773a25
1 changed files with 10 additions and 2 deletions
|
|
@ -24,7 +24,15 @@ echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc f
|
||||||
echo "export PATH=\$PATH:$PATH" >> ~/.zshrc
|
echo "export PATH=\$PATH:$PATH" >> ~/.zshrc
|
||||||
|
|
||||||
echo "\033[0;34mTime to change your default shell to zsh!\033[0m"
|
echo "\033[0;34mTime to change your default shell to zsh!\033[0m"
|
||||||
chsh -s `which zsh`
|
|
||||||
|
zshpath=$(which zsh)
|
||||||
|
if [ $? -eq 1 ]
|
||||||
|
then
|
||||||
|
echo "\033[0;33mAre you sure you have installed zsh?\033[0m"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
chsh -s $zshpath
|
||||||
|
|
||||||
echo "\033[0;32m"' __ __ '"\033[0m"
|
echo "\033[0;32m"' __ __ '"\033[0m"
|
||||||
echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m"
|
echo "\033[0;32m"' ____ / /_ ____ ___ __ __ ____ _____/ /_ '"\033[0m"
|
||||||
|
|
@ -34,5 +42,5 @@ echo "\033[0;32m"'\____/_/ /_/ /_/ /_/ /_/\__, / /___/____/_/ /_/ '"\033[0m
|
||||||
echo "\033[0;32m"' /____/ '"\033[0m"
|
echo "\033[0;32m"' /____/ '"\033[0m"
|
||||||
|
|
||||||
echo "\n\n \033[0;32m....is now installed.\033[0m"
|
echo "\n\n \033[0;32m....is now installed.\033[0m"
|
||||||
/usr/bin/env zsh
|
/usr/bin/env $zshpath
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue