-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
zsh HISTFILE Hardcoded after #168396 fix #169264
Comments
As a temporary workaround you could set it in your I guess to fix this one we need to record any custom HISTFILE when we're constructing the vscode/src/vs/platform/terminal/node/terminalEnvironment.ts Lines 198 to 220 in be6992b
Then if we had a custom one, assign it here: vscode/src/vs/workbench/contrib/terminal/browser/media/shellIntegration-rc.zsh Lines 21 to 23 in be6992b
@meganrogge will save this one for you for some good testing, no rush as there's an easy workaround. |
Will this be fixed in January update? |
I have this variable set in my .zenv file and it still gets overridden somehow, to overcome that I had to disable the shell integration setting |
thank you @Tyriar for the suggested workaround. It didn't work for me because I need different history file for every workspace : "terminal.integrated.env.osx": {
"HISTFILE": "${workspaceFolder}/.zsh_history"
} Anyway your suggestion helped me finding a temporary workaround (still hoping this bug gets fixed some day 😅) that I write here in case anyone is looking for something similar :
|
Does this issue occur when all extensions are disabled?: Yes
The fix for #168396 permanently overwrites my $HISTFILE setting, so I can't redirect it to another file. If I set
in VS Code user settings or
export HISTFILE="${HOME}/something_else"
in my .zshenv, I seeSteps to Reproduce:
env | grep HIST
The text was updated successfully, but these errors were encountered: