Skip to content
Browse files

Use conventional zsh dotfile names

* move rebenv initialization from .zlogin to .zshrc
* rbenv documentation recommends .zshrc
* less files for us to manage in our home directory

* use zshrc instead of zprofile
* zprofile is just an alternative for ksh fans [source](
* Tim Pope recommends moving /etc/zshenv to /etc/zshrc [source](
  • Loading branch information...
1 parent 70bcd8f commit 1ed31e7e7a6cf7a3facc584396cd49983ecd066e @gylaz gylaz committed Apr 5, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 mac
6 mac
@@ -5,7 +5,7 @@ successfully() {
echo "Fix OSX zsh environment bug"
- successfully sudo mv /etc/{zshenv,zprofile}
+ successfully sudo mv /etc/{zshenv,zshrc}
echo "Checking for SSH key, generating one if it doesn't exist ..."
[[ -f ~/.ssh/ ]] || ssh-keygen -t rsa
@@ -65,8 +65,8 @@ echo "Installing watch, used to execute a program periodically and show the outp
echo "Installing rbenv for changing Ruby versions ..."
successfully brew install rbenv
- successfully echo 'eval "$(rbenv init -)"' >> ~/.zlogin
- successfully source ~/.zlogin
+ successfully echo 'eval "$(rbenv init -)"' >> ~/.zshrc
+ successfully source ~/.zshrc
echo "Installing rbenv-gem-rehash so the shell automatically picks up binaries after installing gems with binaries..."
successfully brew install rbenv-gem-rehash

0 comments on commit 1ed31e7

Please sign in to comment.
Something went wrong with that request. Please try again.