My setup
- OS: macOS Monterey 12.5.1
- Editor: Visual Studio Code
- Theme: Bearded Theme HC Ebony
oh-my-zsh and nerd-font
- Install oh-my-zsh
Your ~/.zshrc file should have these lines
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="simple"
source $ZSH/oh-my-zsh.sh
- Download and install nerd-font
Starship
Install starship
Edit your ~/.zshrc file using this command
nvim ~/.config/starship.toml
or
nano ~/.config/starship.toml
- Add the following to the end of your ~/.zshrc file
eval "$(starship init zsh)"
The default starship will look like this
Config
- To remove runtime, run this command
starship preset no-runtime-versions -o ~/.config/starship.toml
- Add these configs to the top of the ~/.zshrc file
"$schema" = 'https://starship.rs/config-schema.json'
add_newline = false
[line_break]
disabled = true
[character]
success_symbol = '[➜](bold green)'
error_symbol = "[➜](red)"
vicmd_symbol = "[❮](green)"
Final ~/.config/starship.toml file should be like this
Top comments (0)