From 513fa8dd65060e84303bf7fd74f59455dcd40237 Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Sat, 29 Mar 2014 22:05:59 +0100 Subject: [PATCH] change shell to zsh more reliably, make use of login shell in gnome terminal --- install_fedora.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install_fedora.sh b/install_fedora.sh index d9a44a99..361aa38b 100755 --- a/install_fedora.sh +++ b/install_fedora.sh @@ -2,7 +2,7 @@ #software and shell sudo yum install vim tmux atop zsh -chsh -s /bin/zsh +sudo chsh -s `which zsh` $USER DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" @@ -30,4 +30,6 @@ $DIR/gnome-terminal-colors-solarized/install.sh #setting colors to solarized should result in the default proile with the following id set #TODO: choose the profile dynamically dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/font "'Inconsolata for Powerline Medium 18'" +dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/login-shell true +echo "now go ahead and restart Gnome session"