Last active
April 29, 2025 04:20
-
-
Save johnspackman/928e6ac5b3dbb91a16a8dc42a942ab92 to your computer and use it in GitHub Desktop.
zsh install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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