diff options
author | Robby Russell <robby@planetargon.com> | 2009-08-30 18:44:14 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2009-08-30 18:44:14 -0700 |
commit | 3ec52a13537ed9c56cf55d1ce7c02a3f6d75fdc4 (patch) | |
tree | c77deb60c68a232ed57bfb2dd7a7dc37ba8d974d | |
parent | 43fd24e81fe83e9c2978e55d1d8f18bc251716f9 (diff) | |
download | zsh-3ec52a13537ed9c56cf55d1ce7c02a3f6d75fdc4.tar.gz zsh-3ec52a13537ed9c56cf55d1ce7c02a3f6d75fdc4.tar.bz2 zsh-3ec52a13537ed9c56cf55d1ce7c02a3f6d75fdc4.zip |
Checking if .zshrc is a file or a symlink.
-rw-r--r-- | tools/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/install.sh b/tools/install.sh index d820adcb5..7b1ead62e 100644 --- a/tools/install.sh +++ b/tools/install.sh @@ -8,7 +8,7 @@ else fi echo "Looking for an existing zsh config..." -if [ -f ~/.zshrc ] +if [ -f ~/.zshrc ] || [ -h ~/.zshrc ] then echo "Found ~/.zshrc. Backing up to ~/.zshrc.pre-oh-my-zsh"; cp ~/.zshrc ~/.zshrc.pre-oh-my-zsh; @@ -22,3 +22,4 @@ echo "Time to change your default shell to zsh!" chsh -s /bin/zsh echo "Hooray! Oh My Zsh has been installed." +/bin/zsh
\ No newline at end of file |