Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have two issues, more details in the description. #8

Open
onlyvip opened this issue May 29, 2021 · 3 comments
Open

i have two issues, more details in the description. #8

onlyvip opened this issue May 29, 2021 · 3 comments

Comments

@onlyvip
Copy link

onlyvip commented May 29, 2021

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

nuta commented May 29, 2021

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.

@Surendrajat
Copy link

@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
Copy link
Owner

nuta commented Oct 27, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants