You are not logged in.

#1 2014-09-14 14:31:16

FredHam
Member
Registered: 2014-02-15
Posts: 3

[SOLVED] zsh is broken

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

#2 2014-09-14 14:53:54

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] zsh is broken

 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

#3 2014-09-14 15:02:50

FredHam
Member
Registered: 2014-02-15
Posts: 3

Re: [SOLVED] zsh is broken

I used these sequences of command and it worked.

VARIABLE=
export VARIABLE
-- Re-login
The variable was not there anymore.

Offline

#4 2014-09-14 15:05:13

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] zsh is broken

 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

#5 2014-09-14 15:52:05

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED] zsh is broken

FredHam wrote:

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

#6 2014-09-14 16:29:32

FredHam
Member
Registered: 2014-02-15
Posts: 3

Re: [SOLVED] zsh is broken

This problem is solve. The variable is definitivly gone and I can't reproduced the problem.

Offline

Board footer

Powered by FluxBB