logoalt Hacker News

Carrok • yesterday at 3:04 PM • 1 reply • view on HN

My shell displays the current path, how is that invisible?


Replies

pcthrowaway • yesterday at 3:20 PM

In most shells, the prompt is configurable. So you have yours configured to display the current path, as most do. It would be trivial to change it to display the current path for all namespaces across which this state is managed.

But a lot of times, you also need to think about executing programs from within a script, where you don't have this prompt. Thus, it's invisible state.

➕ show 1 reply