Files
homelab/shell/README.md
2024-06-25 14:22:54 -04:00

546 B

Shell

ZSH

# Install git before running
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Available prompt colors are red, blue, green, cyan, yellow, magenta, black, & white.

~/.zshrc

cat << EOF > ~/.zshrc
export ZSH="\$HOME/.oh-my-zsh"
plugins=(git)
source \$ZSH/oh-my-zsh.sh

autoload bashcompinit && bashcompinit
autoload -U compinit; compinit

autoload -Uz promptinit
promptinit
prompt fade
EOF
chsh -s $(which zsh) && chsh -s $(which zsh) ducoterra