Install ZSH and switch to it

This commit is contained in:
dabruh 2022-12-14 10:44:37 +01:00
parent c96e785676
commit 5754a02099
2 changed files with 8 additions and 2 deletions

View file

@ -10,7 +10,7 @@ apt-any:i3,feh,i3status,nm-tray,pasystray,xautolock,inotify-tools,xss-lock,fonts
apt-any:libxext-dev,libxcb1-dev,libxcb-damage0-dev,libxcb-xfixes0-dev,libxcb-shape0-dev,libxcb-render-util0-dev,libxcb-render0-dev,libxcb-randr0-dev,libxcb-composite0-dev,libxcb-image0-dev,libxcb-present-dev,libxcb-xinerama0-dev,libxcb-glx0-dev,libpixman-1-dev,libdbus-1-dev,libconfig-dev,libgl1-mesa-dev,libpcre2-dev,libpcre3-dev,libevdev-dev,uthash-dev,libev-dev,libx11-xcb-dev,meson
apt-any:python3,python3-pip
apt-any:sddm,gstreamer1.0-libav,phonon4qt5-backend-gstreamer,gstreamer1.0-plugins-good,qml-module-qtquick-controls,qml-module-qtgraphicaleffects,qml-module-qtmultimedia
apt-any:tmux,codium,vim,ufw,scrot
apt-any:zsh,tmux,codium,vim,ufw,scrot
apt-any:chromium-browser
apt-any:cargo,cmake,pkg-config,libfreetype6-dev,libfontconfig1-dev,libxcb-xfixes0-dev,libxkbcommon-dev,python3
apt-any:libxcb-render0-dev,libffi-dev,python3-dev,python3-cffi

View file

@ -216,7 +216,11 @@ function build_alacritty() {
sudo cp $tmp_dir/extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg
sudo desktop-file-install $tmp_dir/extra/linux/Alacritty.desktop
sudo update-desktop-database
rm -Rf /tmp/alacritty
sudo rm -Rf /tmp/alacritty
}
function change_shell() {
sudo chsh -s "$(which zsh)" "$USER"
}
#
@ -276,6 +280,7 @@ function setup_arch() {
setup_brew_formulas || return 8
setup_krew || return 9
setup_krew_plugins || return 10
change_shell || return 11
}
#
@ -338,6 +343,7 @@ function setup_debian() {
setup_krew || return 10
setup_krew_plugins || return 11
build_alacritty || return 12
change_shell || return 13
}
ID_LIKE="$(grep ID_LIKE= </etc/os-release | cut -d= -f2)"