-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
[Feature] auto mode and zsh support for shell command #70
Conversation
Thanks for the enhancement. It looks good in general. I am not a zsh user, but from what I read, it seems zsh uses the "PROMPT" variable, instead of PS1. Is this true? If yes, then should also improve this for zsh users? |
Actually both |
Nice! Should line 87 be touched up further? |
Whoops... sure thing, updated 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good.
By default, the
shell
command now usesauto
-mode, where it selects the shell based on the$SHELL
environment variable. It then checks if that shell is supported and selects the required options from a map.I also added support (options) for
zsh
.