antonmedv / walk

Terminal file manager
MIT License
3.24k stars 88 forks source link

config file location? #33

Closed vada-pav closed 1 year ago

vada-pav commented 1 year ago

Could you please add more instructions on how to create a config file? I want to change the default editor to nano.

antonmedv commented 1 year ago

Just set env var LLAMA_EDITOR=nano

vada-pav commented 1 year ago

How? I am on a mac. I don’t know where to set the env var.

antonmedv commented 1 year ago

In bash_profile

vada-pav commented 1 year ago

okay, got it. I will add this to my .zshrc file. thank you.

vada-pav commented 1 year ago

That did not work. In my .zshrc file, i added LLAMA_EDITOR=nano and the files are still opening in vim

antonmedv commented 1 year ago

¯\_(ツ)_/¯

Betelgeuse1 commented 1 year ago

Didn't you say in #5 that you were now using $EDITOR instead of $LLAMA_EDITOR ?

To check so, @swapneelb, you can either :

antonmedv commented 1 year ago

Both are used.