From d7fe42387c096d7f5cd6119313e15bc087b3f634 Mon Sep 17 00:00:00 2001 From: purem Date: Mon, 11 Apr 2011 11:16:10 -0700 Subject: [PATCH] Edited bootstrap to find zsh's configuration file ~/.zshrc by default --- bootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) mode change 100755 => 100644 bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh old mode 100755 new mode 100644 index 901fb8df0..b279307ae --- a/bootstrap.sh +++ b/bootstrap.sh @@ -55,8 +55,11 @@ function ask_append_shell_config () { shell_config_file="$HOME/.profile" elif [ -f "$HOME/.bashrc" ]; then shell_config_file="$HOME/.bashrc" + elif [ -f "$HOME/.zshrc" ]; then + shell_config_file="$HOME/.zshrc" fi + echo " \"$config_string\" will be appended to \"$shell_config_file\"." if prompt "no"; then if [ "$shell_config_file" ]; then