Skip Navigation

I just discovered Starship, the cross-shell prompt, which has support for docker context

starship.rs Starship: Cross-Shell Prompt

Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and Powershell.

Starship is a really nice, fast, customisable shell prompt - of which there are many - but Starship supports a very wide range of things out-of-the-box.

Including docker context's. It detects Dockerfile and docker-compose.yml/yaml in the directory, and if you're not on the default context then it'll show the name of the context you're on in blue alongside a little whale icon. A tiny but very useful feature.

1
Hacker News @lemmy.smeargle.fans bot @lemmy.smeargle.fans
BOT
Starship.rs: minimal, fast prompt for any shell

You're viewing a single thread.