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

Preserve users PS1 #9

Open
mbmcmullen27 opened this issue Jun 2, 2022 · 0 comments
Open

Preserve users PS1 #9

mbmcmullen27 opened this issue Jun 2, 2022 · 0 comments

Comments

@mbmcmullen27
Copy link
Contributor

PS1 env var is unset in subshells, we could potentially read it from the bashrc but it could be set there around conditional logic

  • we could instead use helper functions to make the custom one easier to customize, but that will almost surely be less robust
  • I think the best solution might be to allow it to be set with functions that escape the special PS1 chars in the same way we did manually in the set-template function
    • would need to write something almost like a PS1 parser
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

1 participant