huijunchen9260 / dmenufm

A simple file manager using dmenu
GNU General Public License v3.0
227 stars 15 forks source link

Updated README #6

Closed joebass85 closed 4 years ago

huijunchen9260 commented 4 years ago

Since my shebang is in /bin/sh, if user's /bin/sh is linked to dash, and he is using bash or zsh as his interactive shell (just like me), should he set $TERMINAL variable in .profile or shell configuration file?

I set my $TERMINAL in .profile, so I don't have such problem, but I am not sure for ppl only set this variable in .bashrc or .zshrc, will dmenufm able to know this global variable?

camnw commented 4 years ago

This should work fine no matter where it is exported from as long as it makes it to being an environment variable. So if I used fish shell and in my fish config exported $TERMINAL and the file was read at least once (like if I used fish), it would work system-wide across any application (thus dmenufm). You can export the variable from anywhere, any shell that supports it as long as that gets loaded so it would not make a difference for it to be in .zshrc or .profile or any other file that is read and exports the variable.

huijunchen9260 commented 4 years ago

Thanks both of you to review my README.md!