holochain / holonix-archive

NixOS && Holochain
150 stars 20 forks source link

Foreign Shell Prompt #6

Open neonphog opened 5 years ago

neonphog commented 5 years ago

In terms of things that feel foreign about the nix shell, the first thing I notice is the shell prompt:

Base System:

neonphog@stealthfish:~/projects/holochain-rust$

Nix Shell:

[nix-shell:~/projects/holochain-rust]$

(There are coloring differences as well that don't show up in MD)

Some people like their text input to start on the next line so they don't loose space as directory depth increases, etc, etc.

On the one hand, It would be nice to indicate in some way that you are in a nix-shell and not your base system shell, but it would also be nice to keep the configured shell prompt as-is to maintain the users customizations.

thedavidmeister commented 5 years ago

@yegortimoshenko do you know much about how this works/interacts with the base system?