Added zsh and oh my zsh, and enabling it as default for new users

This commit is contained in:
2025-06-05 00:11:46 -04:00
parent 987d93b2d1
commit 5539c02f05
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
git clone https://github.com/ohmyzsh/ohmyzsh.git /usr/share/ohmyzsh

View File

@@ -0,0 +1,8 @@
# useradd defaults file
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/zsh
SKEL=/etc/skel
CREATE_MAIL_SPOOL=yes

View File

@@ -0,0 +1,15 @@
modules:
- type: dnf
install:
packages:
# zsh
- zsh
# sqlite for some autocomplete
- sqlite
# zoxide for z stuff
- zoxide
# install oh my zsh
- type: script
scripts:
- installohmyzsh.sh