nsh
nsh copied to clipboard
i have two issues, more details in the description.
- where can i find the default nshrc? its not in home.
- how can i use starship.rs as prompt in nsh?
Hi,
- where can i find the default nshrc? its not in home.
Similar to .bashrc
, you need to create .nshrc
yourself.
- how can i use starship.rs as prompt in nsh?
It won't work for now because some features such as PS1
are not yet supported (implementing required features would be trivial though).
JFYI nsh has its own prompt syntax.
@nuta does it support xdg base dir convention for config files as fish does? Fish has all the config in ~/.config/fish/config.fish
with config.d
support.
@Surendrajat Yes nsh loads $XDG_CONFIG_HOME/nsh/nshrc
if it exists.