Lennart Poettering on Nostr: Various container tools have visualized the change of context by other means: by ...
Various container tools have visualized the change of context by other means: by prefixing the shell prompt in the target environment with some string, emoji or similar. And I think that makes a lot of sense.
However, I think the means of implementing this so far was always a bit hacky, and conceptually skewed: the prompt prefix is typically generated from inside the environment (the "payload"), based on special code in the the payload, that detects how it has been invoked.
However, I think the means of implementing this so far was always a bit hacky, and conceptually skewed: the prompt prefix is typically generated from inside the environment (the "payload"), based on special code in the the payload, that detects how it has been invoked.