Skip to content

Instantly share code, notes, and snippets.

@tiagotele
Created August 15, 2026 20:03
Show Gist options
  • Select an option

  • Save tiagotele/fd5373bc6ede3449f1287a8331761832 to your computer and use it in GitHub Desktop.

Select an option

Save tiagotele/fd5373bc6ede3449f1287a8331761832 to your computer and use it in GitHub Desktop.
Set zsh Linux Amazon Image
# Test on Docker
docker run -it --name al-zsh-test amazonlinux:2023 /bin/bash
dnf install -y zsh git curl util-linux-user --allowerasing
chsh -s /bin/zsh root
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="agnoster"/' ~/.zshrc
dnf install -y glibc-langpack-en
exec zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment