42shpimanmls / 42sh

Shell project at 42
3 stars 0 forks source link

Still the `~' in the prompt when $HOME is unset #292

Closed AlaricSenat closed 7 years ago

AlaricSenat commented 7 years ago

When the home is unset: [asenat@e1r11p19.42.fr ~/Documents/42sh]$ unsetenv HOME

The prompt becomes: [asenat@e1r11p19.42.fr ~/Users/asenat/Documents/42sh]$ The `~' stand still with no reasons.