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

Do not modify bashrc/zshrc everytime hishtory update is run. #257

Open
zhou13 opened this issue Oct 14, 2024 · 0 comments · May be fixed by #261
Open

Do not modify bashrc/zshrc everytime hishtory update is run. #257

zhou13 opened this issue Oct 14, 2024 · 0 comments · May be fixed by #261

Comments

@zhou13
Copy link

zhou13 commented Oct 14, 2024

I am managing the PATH myself in .profile. However, hishtory update always adds three lines to my shell rc files like

# Hishtory Config:
export PATH="$PATH:/Users/yichaozhou/.hishtory"
source /Users/yichaozhou/.hishtory/config.fish

It is OK to add them during installation, but I think it is not appropriate to add them during upgrade.

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 a pull request may close this issue.

1 participant