sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
(https://github.com/caiogondim/bullet-train.zsh#for-oh-my-zsh-users)
-
Download the theme here
-
Put the file bullet-train.zsh-theme in $ZSH_CUSTOM/themes/
Usuallly the themes folder is under this directory:
/Users/{CURRENT_USER}/.oh-my-zsh/themes
- Configure the theme, colors and emojis in your ~/.zshrc :
# PERSONAL CUSTOM
ZSH_THEME="bullet-train"
export TERM="xterm-256color"
BULLETTRAIN_PROMPT_ORDER=(
nvm
git
dir
)
BULLETTRAIN_NVM_BG="030"
BULLETTRAIN_NVM_PREFIX="🤖 "
BULLETTRAIN_DIR_BG="031"
BULLETTRAIN_DIR_FG="255"
BULLETTRAIN_DIR_EXTENDED="0"
BULLETTRAIN_GIT_DIRTY="🤔 - "
BULLETTRAIN_GIT_UNTRACKED="🥑"
BULLETTRAIN_GIT_DELETED="🔥"
BULLETTRAIN_GIT_MODIFIED="🍺"
BULLETTRAIN_GIT_CLEAN=" 😎"
BULLETTRAIN_GIT_ADDED="🚜"
(https://github.com/powerline/fonts#quick-installation)
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts