This pull request adds a script to README.md that allows for automatic installation of the Bullet Train theme. This script is copied from my dotfiles used to set up new Linux/macOS terminal environments.
This four line script does the following:
Checks to make sure Oh My ZSH is installed (~/.zshrc and $ZSH_CUSTOM/themes exist)
Silently downloads the latest version of the theme to $ZSH_CUSTOM/themes/bullet-train.zsh-theme
Sets ZSH_THEME to the proper value in ~/.zshrc (and changes sed -i to sed -i '' on macOS for compatibility reasons)
Sources ~/.zshrc to activate the prompt
I have tested this script on macOS 13.2.1 (zsh 5.8.1 (x86_64-apple-darwin22.0)) and Ubuntu 22.04 (zsh 5.8 (x86_64-ubuntu-linux-gnu)).
This pull request adds a script to README.md that allows for automatic installation of the Bullet Train theme. This script is copied from my dotfiles used to set up new Linux/macOS terminal environments.
This four line script does the following:
~/.zshrc
and$ZSH_CUSTOM/themes
exist)$ZSH_CUSTOM/themes/bullet-train.zsh-theme
ZSH_THEME
to the proper value in~/.zshrc
(and changessed -i
tosed -i ''
on macOS for compatibility reasons)~/.zshrc
to activate the promptI have tested this script on macOS 13.2.1 (
zsh 5.8.1 (x86_64-apple-darwin22.0)
) and Ubuntu 22.04 (zsh 5.8 (x86_64-ubuntu-linux-gnu)
).