i have two issues, more details in the description.
justvipul opened this issue · 3 comments
justvipul commented
- where can i find the default nshrc? its not in home.
- how can i use starship.rs as prompt in nsh?
nuta commented
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.
Surendrajat commented
@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.