Set default shell in install script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
f64f3efa5a
commit
3174f313b2
1 changed files with 9 additions and 5 deletions
12
install
12
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 #
|
||||
###############################################################################
|
||||
|
@ -277,3 +274,10 @@ print_section "Creating issue file"
|
|||
} > "/tmp/issue"
|
||||
sudo install "/tmp/issue" "/etc/issue"
|
||||
print_log "Issue file created"
|
||||
|
||||
###############################################################################
|
||||
# Set default shell #
|
||||
###############################################################################
|
||||
print_section "Set default shell"
|
||||
chsh -s "/bin/zsh"
|
||||
print_log "Set default shell to zsh"
|
Loading…
Add table
Add a link
Reference in a new issue