Translate all posts to German with personal blog style
Build & Deploy / deploy (push) Successful in 32s
Build & Deploy / deploy (push) Successful in 32s
This commit is contained in:
@@ -1,33 +1,32 @@
|
||||
+++
|
||||
date = '2026-01-04T20:33:45+01:00'
|
||||
draft = false
|
||||
title = 'Spaceship Distrobox'
|
||||
title = 'Spaceship Distrobox – Nie wieder die Übersicht verlieren'
|
||||
|
||||
[cover]
|
||||
image = "/imgs/spaceship.png"
|
||||
alt = "official spaceship rocket logo"
|
||||
alt = "Offizielles Spaceship Rocket Logo"
|
||||
caption = ""
|
||||
+++
|
||||
|
||||
# How I Solved the Distrobox Confusion in My Terminal
|
||||
# In welcher Box bin ich grad nochmal?
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
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.
|
||||
Ja, mir ist das passiert. Mehrmals.
|
||||
|
||||
## Why This Plugin Exists
|
||||
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.
|
||||
|
||||
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.
|
||||
## Warum gibt's das?
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
### Key Features:
|
||||
### Was das Ding kann:
|
||||
|
||||
- **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.
|
||||
- **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.
|
||||
|
||||
### Where to get it
|
||||
|
||||
For installation and configuration instructions, check out the [Spaceship Distrobox plugin Repository](https://github.com/pyte1/spaceship-distrobox).
|
||||
### Wo gibt's das?
|
||||
|
||||
Installation und Konfiguration gibt's im [Spaceship Distrobox Plugin Repository](https://github.com/pyte1/spaceship-distrobox).
|
||||
|
||||
Reference in New Issue
Block a user