dotfiles/modules/03-shell.sh
Martin Büchler 7d13e6ff1c chore: initial commit of all dotfiles, configs, and setup scripts
Includes modular setup, device profile support, and documentation.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-08-07 23:05:28 +02:00

14 lines
393 B
Bash
Executable File

#!/usr/bin/env bash
# Set zsh as the default shell
if [ "$SHELL" != "$(command -v zsh)" ]; then
echo "Setting zsh as the default shell..."
chsh -s "$(command -v zsh)"
fi
# Set German nodeadkeys layout for TTY/console
if command -v localectl >/dev/null 2>&1; then
echo "Setting TTY keyboard layout to de-latin1-nodeadkeys..."
sudo localectl set-keymap de-latin1-nodeadkeys
fi