nuta/nsh

i have two issues, more details in the description.

justvipul opened this issue · 3 comments

  1. where can i find the default nshrc? its not in home.
  2. how can i use starship.rs as prompt in nsh?
nuta commented

Hi,

  1. where can i find the default nshrc? its not in home.

Similar to .bashrc, you need to create .nshrc yourself.

  1. 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.

nuta commented

@Surendrajat Yes nsh loads $XDG_CONFIG_HOME/nsh/nshrc if it exists.