Global shell varible resets on shell startup

TwlvSeconds

I've tried using fzf, and I've done export FZF_DEFAULT_COMMAND as per the instructions. I set it to ag -g "". For the rest of the session, echo $FZF_DEFAULT_COMMAND gives me ag -g "". However, when starting the shell again, I get rg --files --hidden from echo $FZF_DEFAULT_COMMAND. Putting export FZF_DEFAULT_COMMAND='ag -g ""' in my .zshrc does not work.

TwlvSeconds

I've solved it, there was a command changing it in my .zshrc

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

How to run a shell script at startup

From Dev

Is it possible to update a varible from one shell to another shell?

From Dev

Updated values in global variable is lost in Shell Script

From Dev

Zsh global alias equivalent in fish shell

From Dev

Missing file(s) from rc.local shell script startup

From Dev

Environmental/global variables are not expanded in shell script

From Dev

Create shell executable Global node module

From Dev

Run startup commands in spark-shell

From Dev

Run shell script on startup or boot

From Dev

What is Ubuntu's equivalent of Windows shell:startup?

From Dev

Edit global variable in sub-shell

From Dev

How to execute a shell script on startup?

From Dev

Run shell script on startup or boot

From Dev

What is Ubuntu's equivalent of Windows shell:startup?

From Dev

How to edit the fish shell startup script?

From Dev

Is it possible to update a varible from one shell to another shell?

From Dev

shell bash global replace on a file

From Dev

Zsh global alias equivalent in fish shell

From Dev

Persistent global variable in linux shell

From Dev

Error-handling in EFI startup shell scripts

From Dev

Fish Shell hangs on startup

From Dev

setting bash shell varible to pwd

From Dev

How to unset global varible in php within isset

From Dev

Making global variables persistent in bash shell

From Dev

Can a shell script be a global command?

From Dev

How to run shell commands in general and on startup

From Dev

Accessing Global Bamboo variables in inline shell script

From Dev

Shell script function with global variable

From Dev

virtualenvwrapper mkproject and shell startup in windows issue?

Related Related

HotTag

Archive