When it comes to shells and shell customization, I’ve been mostly using zsh with oh-my-zsh over the past decade. They come with so much convenience and nifty features and so I was quite content using them. Lately, one of my coworkers started using starship.rs. The blurb of this project reads:
Starship cross-shell prompt
The minimal, blazing-fast, and infinitely customizable prompt for any shell!
My co-worker seemed quite enthusiastic showing Starship’s features, so I got curious, went ahead and switched to Starship.
Dispatches from my digital life.
When it comes to shells and shell customization, I’ve been mostly using zsh with oh-my-zsh over the past decade. They come with so much convenience and nifty features and so I was quite content using them. Lately, one of my coworkers started using starship.rs. The blurb of this project reads:
Starship cross-shell prompt The minimal, blazing-fast, and infinitely customizable prompt for any shell!
My co-worker seemed quite enthusiastic showing Starship’s features, so I got curious, went ahead and switched to Starship.
Disabling Oh My ZshFor now, I don’t want to wholesale remove Oh My Zsh, just disable it. This was easy. In my ~/.zshrc file, I just had to comment these lines out:
# export ZSH="$HOME/.oh-my-zsh"
# source $ZSH/oh-my-zsh.sh
Again, it’s as easy as using Homebrew to get the job done:
brew install starship
Then adding this line to my ~/.zshrc, et voila!
eval "$(starship init zsh)"
Ping a nerd font
Nerd fonts is a collection of fonts specifically curated for developers working from the shell. These fonts are patched to include glyphs from popular icon fonts such as Font Awesome, Devicons and Octicons.
These fonts are available via Homebrew as well, so I let brew do the magic. I picked Fira Code just to get started, as it is recommened by the Starship people.
brew install font-fira-code-nerd-font
I’m using iTerm2, so I just popped into the preferences to set the font and I was good to go. Additionally, I had to add this line to my .zshrc file:
starship preset nerd-font-symbols -o ~/.config/starship.toml
Configuring Starship
The ~/.config/starship.toml file contains all the configuration. So far, I haven’t quite figured out how that works. When I try edit the file and then execute source ~/.zshrc, my changes are replaced with the default configuration. For now, I’m okay with the defaults. This is something I need to figure out in the near future. I’ll edit this article when I’ve done some more exploration.
Finally, I’ve added some additional .zshrc configuration. Which reads like this:
# zsh history
setopt share_history
setopt hist_expire_dups_first
setopt hist_ignore_dups
setopt hist_verify
bindkey '^A' history-search-backward
bindkey '^B' history-search-forward
bindkey '^R' history-incremental-search-backward
# zsh autocomplete
autoload -Uz compinit
compinit
# zsh syntax highlighting
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# aliases
# git
alias gwc='git whatchanged -p --abbrev-commit --pretty=medium'
alias gst='git status -s -b'
alias gl='git lg'
alias gc='git commit'
alias gca='git commit -a'
# docker
alias da='docker container ls --all
alias dcu='docker compose up -d'
alias dcd='docker compose down'
alias dcdu='docker compose down && docker compose up -d'
# others
alias vi='nvim'
alias vim='nvim'
alias h='history 0'
alias del-ds-store='find . -name .DS_Store -type f -delete
The zsh-syntax-highlighting will, well, highlight syntax on zsh. It enables highlighting whenever you start typing commands, expressions, statements,… at the zsh prompt. Which is helpful for catching errors before executing a command. It’s available via brew as well so:
brew install zsh-syntax-highlighting
Also, do note that I’m using neovim. I just alias the vi and vim commands to point towrads nvim.
After 24 hours of usage, I’ve become charmed by Starship. I like the simplicity and the small thoughtful features like showing how long it took for a long-running command or program to complete in the prompt. I especially like how unobtrusive it is. There’s very few in the way of bells and whistles unlike Oh My Zsh which basically takes over your .zshrc file. Overall, a great experience and a project I would recommend if you’re open to prompt or shell customization.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | The Last Starship Скачать: https://tapochek.net/viewtopic.php?t=257636 The Last Starship - это ... | 0 | 5.44 | 24-08-2026 |
| 2 | 🚀 SpaceX Starship: запуск отменили за секунду до старта Starship ... | 0 | 6.23 | 23-07-2026 |
| 3 | Starling: A New Linux Desktop Written In Swift, Own Wayland Compositor & Written With AI | 0 | 7.03 | 28-07-2026 |
| 4 | ⚡️ Компания SpaceX отменила запуск ракеты-носителя с прототипом корабля Starship ... | -2 | 3 | 17-07-2026 |
| 5 | Rsrssr - a really simple rss and atom reader for the terminal | 0 | 7.34 | 04-08-2026 |
| 6 | 🚀 Starship успешно завершил 13-й испытательный полет SpaceX провела 13-й ... | 1 | 8.94 | 26-07-2026 |
| 7 | djangofmt - A fast, HTML aware, Django template formatter, written in Rust | 0 | 10 | 21-02-2026 |
| 8 | Caddy, PHP and Docker | 0 | 8.24 | 30-01-2022 |
| 9 | Представлен singularity-shell - неофициальный клиент планировщика задач Singularity | 0 | 15.69 | 29-07-2026 |
| 10 | Blog: gRPC-Rust Client API Evolution (pt. 1/2) | 0 | 11.54 | 29-05-2026 |