Revert "Translate all posts to German with personal blog style"
Build & Deploy / deploy (push) Successful in 27s

This reverts commit cc7ba433d4.
This commit is contained in:
2026-06-06 19:27:10 +02:00
parent cc7ba433d4
commit 057a61a14c
5 changed files with 184 additions and 149 deletions
+15 -14
View File
@@ -1,32 +1,33 @@
+++
date = '2026-01-04T20:33:45+01:00'
draft = false
title = 'Spaceship Distrobox Nie wieder die Übersicht verlieren'
title = 'Spaceship Distrobox'
[cover]
image = "/imgs/spaceship.png"
alt = "Offizielles Spaceship Rocket Logo"
alt = "official spaceship rocket logo"
caption = ""
+++
# In welcher Box bin ich grad nochmal?
# How I Solved the Distrobox Confusion in My Terminal
Letztens ist mir aufgefallen: Ich hab ständig mehrere Terminal-Fenster offen, und irgendwann weiß ich nicht mehr, welches davon in ner **Distrobox** läuft und welches auf meinem Host-System ist. Kennt ihr das? Ihr wechselt zwischen Projekten, öffnet hier mal schnell ein Terminal, da mal eins und zack, ihr führt `apt install` im Host aus, obwohl ihr dachtet, ihr wärt in der Box.
Recently, I found myself struggling with something that seemed like a simple problem: when I was working with multiple terminal windows, I could never remember which one was inside a Distrobox and which one was on my local system. If you've ever juggled between different environments, you know exactly how annoying this can get.
Ja, mir ist das passiert. Mehrmals.
So, I decided to create a quick plugin for my favorite terminal prompt, **Spaceship**, that would clearly indicate when I'm inside a Distrobox container. The result is a simple, customizable section that appears right in your prompt, showing the name of the active container. This way, I never have to guess or dig deeper to figure out where I'm working.
Also hab ich mir überlegt: Ich brauch was, das mir SOFORT zeigt, ob ich in ner Distrobox bin. Ich nutze **Spaceship Prompt** und hab ein Plugin dafür geschrieben, das genau das macht. Einfach, schlank, und es knallt mir den Containernamen direkt ins Prompt.
## Why This Plugin Exists
## Warum gibt's das?
While there are already tools and functions for **Bash** or even the **Starship Prompt** to detect and display if you're inside a container, I couldn't find anything that suited my needs for **Spaceship Prompt**. I wanted a minimal, easy to install plugin that would do exactly what I needed: show me when I'm in a Distrobox without cluttering up my prompt.
Klar, für **Bash** oder **Starship Prompt** gibt's schon Tools, die anzeigen, ob man in nem Container steckt. Aber für **Spaceship Prompt** hab ich nix Passendes gefunden. Also hab ich's selbst gebaut.
That's why I created this plugin. It's simple, lightweight, and specifically designed for Spaceship users who want to easily track which environment they're in without extra hassle.
### Was das Ding kann:
### Key Features:
- **Sofort erkennbar**: Ich seh auf einen Blick, ob ich in ner Distrobox bin. Kein `echo $CONTAINER_ID` mehr.
- **Anpassbar**: Symbol, Farbe und Position kann ich ändern. Passt sich an mein Setup an.
- **Minimaler Aufwand**: Ich nutze Spaceship eh schon das Plugin einzubauen hat mich keine 5 Minuten gekostet.
- **Instant Visual Cue**: It's super clear when I'm inside a Distrobox. No need to check `CONTAINER_ID` or other variables.
- **Customizable**: I can change the symbol, the color, and the position in the prompt to match my setup.
- **Super Simple Setup**: I'm already using the Spaceship prompt, so adding this feature took just a couple of lines of code.
### Wo gibt's das?
### Where to get it
For installation and configuration instructions, check out the [Spaceship Distrobox plugin Repository](https://github.com/pyte1/spaceship-distrobox).
Installation und Konfiguration gibt's im [Spaceship Distrobox Plugin Repository](https://github.com/pyte1/spaceship-distrobox).