Skip to content

Instantly share code, notes, and snippets.

@johnspackman
Last active April 29, 2025 04:20
Show Gist options
  • Save johnspackman/928e6ac5b3dbb91a16a8dc42a942ab92 to your computer and use it in GitHub Desktop.
Save johnspackman/928e6ac5b3dbb91a16a8dc42a942ab92 to your computer and use it in GitHub Desktop.
zsh install
yum install zsh -y
chsh -s /bin/zsh root
echo $SHELL
yum install wget git -y
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
/bin/cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
cat << __EOF__ >> .zshrc
PROMPT='%F{yellow}%n@%m: %F{white}[%T] %F{cyan}%1d $ %F{reset}'
__EOF__
source ~/.zshrc
# Now log out and back in again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment