From 3174f313b2a66e266107b2ae0f2dce070d430fbc Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Tue, 28 May 2019 16:23:10 +0200 Subject: [PATCH] Set default shell in install script Signed-off-by: Severin Kaderli --- install | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/install b/install index 9080c47..6d395de 100755 --- a/install +++ b/install @@ -33,7 +33,6 @@ DIRECTORIES=( "music" "pictures" "projects" - "tasks" "videos" ".local/share/gnupg/" ) @@ -42,7 +41,6 @@ WORK_DIRECTORIES=( "work" ".local/log" "downloads" - "tasks" ".local/keys" ".local/share/gnupg/" ) @@ -143,7 +141,7 @@ print_section "Installing packages" package_count=$(< "${PACKAGES_DIR}/packages.list" wc -l) print_log "Installing ${package_count} packages" yay -Syy > /dev/null 2>&1 -yay -S --noconfirm --needed --devel - < "${PACKAGES_DIR}/packages.list" +yay -S --noconfirm --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.list" ############################################################################### @@ -264,7 +262,6 @@ print_section "Setting lockscreen image" betterlockscreen -u "${DOTFILES}/assets/lockscreen.${HOST}.jpg" > /dev/null 2>&1 print_log "Lockscreen generated" - ############################################################################### # Creating issue file # ############################################################################### @@ -276,4 +273,11 @@ print_section "Creating issue file" echo '\e{reset}'; } > "/tmp/issue" sudo install "/tmp/issue" "/etc/issue" -print_log "Issue file created" \ No newline at end of file +print_log "Issue file created" + +############################################################################### +# Set default shell # +############################################################################### +print_section "Set default shell" +chsh -s "/bin/zsh" +print_log "Set default shell to zsh" \ No newline at end of file