You are not logged in.
Pages: 1
My zsh once export a variable.
It no longer export it (I don't need it in the context), but the variable is still there even when there is no trace of setting this variable.
The command unset only remove the variable temporary. When I logged again the variable is there.
I would need to definitivaly unexport this variable. I try "env -u VARIABLE" and "unset VARIABLE". It worked but until I logged again.
Thanks for helping me.
Last edited by FredHam (2014-09-14 16:30:38)
Offline
How does that make zsh broken? Your title is misleading. What exactly did you export? And where? ~/.zshrc, ~/.profile or something else?So you definitely rebooted and the variable comes back? Check files sourced when zsh starts.
Offline
I used these sequences of command and it worked.
VARIABLE=
export VARIABLE
-- Re-login
The variable was not there anymore.
Offline
Use [code][/code] tags to mark output of a command or scripts. Should you consider this issue solved, then please mark the thread as such.
Offline
I used these sequences of command and it worked.
VARIABLE=
export VARIABLE
-- Re-login
The variable was not there anymore.
What variable is this? Maybe you should actually say what it is, what it does and why you used it in the first place. Provided you have actually removed all occurences of it from your configuration, killed all Zsh sessions, logged out and logged back in, it shouldn't exist. If you have to assign a null value to the variable to make it go away, then something is still creating it. The problem (whatever it may be) is not solved.
Offline
This problem is solve. The variable is definitivly gone and I can't reproduced the problem.
Offline
Pages: 1