From fee6b646752dac10cd39fc6369974b7533a14bae Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Wed, 11 Aug 2010 11:58:03 -0700 Subject: [PATCH] echo a reminder to change shell to zsh --- newbox | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/newbox b/newbox index e0ec8ff..e2f3ad1 100755 --- a/newbox +++ b/newbox @@ -16,13 +16,6 @@ if ! which zsh >/dev/null 2>&1; then fi fi -if ! grep `id -u` /etc/passwd | grep zsh; then - # FIXME figure out how to change the shell semi-interactively (only type in password) - #chsh `which zsh` - echo "Please chonge your shell to `which zsh`" - chsh -fi - if ! which git >/dev/null 2>&1; then if which aptitude >/dev/null 2>&1; then sudo aptitude install -y git-core @@ -48,3 +41,12 @@ for FILE in config/*; do fi ln -s "$FILE" "$DOTFILE" done + +echo " * Done!" + +# FIXME figure out how to change the shell semi-interactively (only type in password) +if ! grep `id -u` /etc/passwd | grep zsh; then + #chsh -s `which zsh` + echo " *** Use chsh to change your shell to `which zsh`" +fi +