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

Add zsh support #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add zsh support #20

wants to merge 1 commit into from

Conversation

DE0CH
Copy link

@DE0CH DE0CH commented May 26, 2022

Currently, the shell script only edits the ~/.bashrc file, but some people (like me) prefer to use zsh, which requires editing ~/.zshenv. This PR adds some code to detect the user's login shell and edit the corresponding source file.

Also I renamed BashFile to RcFile to make it more generalised. This will change the public interface because the BashFile env no longer works. Not sure if there needs to be backward compatibility because there seems to be no mention of using BashFile in the documentation.

@DE0CH DE0CH requested a review from 4U6U57 as a code owner May 26, 2022 17:19
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

Successfully merging this pull request may close these issues.

1 participant