Install tweeks
Robby Russell authored on 26/04/2011 at 16:47:56... | ... |
@@ -5,7 +5,7 @@ then |
5 | 5 |
fi |
6 | 6 |
|
7 | 7 |
echo "Cloning Oh My Zsh..." |
8 |
-/usr/bin/env git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh |
|
8 |
+/usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh |
|
9 | 9 |
|
10 | 10 |
echo "Looking for an existing zsh config..." |
11 | 11 |
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ] |
... | ... |
@@ -22,7 +22,7 @@ echo "Copying your current PATH and adding it to the end of ~/.zshrc for you." |
22 | 22 |
echo "export PATH=$PATH" >> ~/.zshrc |
23 | 23 |
|
24 | 24 |
echo "Time to change your default shell to zsh!" |
25 |
-chsh -s "/usr/bin/env zsh" |
|
25 |
+chsh -s `which zsh` |
|
26 | 26 |
|
27 | 27 |
echo ' __ __ ' |
28 | 28 |
echo ' ____ / /_ ____ ___ __ __ ____ _____/ /_ ' |