Skip to content

Instantly share code, notes, and snippets.

@dhoboy
Last active April 26, 2025 12:42
Show Gist options
  • Select an option

  • Save dhoboy/6aaefebf5cdd2c2f713f2e755cd467c3 to your computer and use it in GitHub Desktop.

Select an option

Save dhoboy/6aaefebf5cdd2c2f713f2e755cd467c3 to your computer and use it in GitHub Desktop.
My Simple Starship.toml
# Install starship: `sh -c "$(curl -fsSL https://starship.rs/install.sh)"`
# This file lives here: ~/.config/starship.toml
# Using https://www.programmingfonts.org/#hasklig nerdfont
# Download it here: https://www.nerdfonts.com/font-downloads
# see for installing nerd font: https://gist.github.com/matthewjberger/7dd7e079f282f8138a9dc3b045ebefa0
# Put the unzipped font files into `~/Library/Fonts` if on Mac
# For linux, Unzip and copy the downloaded font to `~/.fonts` (make the dir if it doesn't already exist)
# Make sure to save the unzipped font in a folder inside `~/.fonts`, so it will look like `~/.fonts/Hasklig/...`
#
# Run the command `fc-cache -fv` to manually rebuild the font cache
# Put this at end of bash_profile: `eval "$(starship init bash)"`
# For zsh, Add the following to the end of ~/.zshrc:
# eval "$(starship init zsh)"
# Be sure to set the nerd font in iTerm2, and check the box for Anti-aliased to get it looking great
# Recommend to select the colors in iTerm2, and tone them down by selecting grayer shades in the color picker
# If something unexpected is showing in the prompt run: `starship explain` to see what it is
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
# Disable Node.js version number
[nodejs]
disabled = true
# One-line prompt
[line_break]
disabled = true
# Disable google cloud info
[gcloud]
disabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment