-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ROFI_PASS_CONFIG environment variable #118
Conversation
thanks |
To avoid conflicts, I would use here https://github.com/carnager/rofi-pass/pull/118/files#diff-9c2e6bc22af7bed199ed145d116eaaf0R721:
Which: if unset, sets ROFI_PASS_CONFIG; if set, does nothing. This prevents https://github.com/carnager/rofi-pass/pull/118/files#diff-9c2e6bc22af7bed199ed145d116eaaf0R729 from sourcing a second file. I think we must have a cleaner workflow to use in the following order of preference:
|
Is there any problem sourcing multiple files? Would it not just overwrite previously loaded settings? Sourcing multiple config files could also be a feature. Don't get me wrong. I totally see your point @moviuro. It is probably cleaner your way. I just want to know. :) |
Sourcing multiple files could indeed rewrite settings, but also set things that you don't want set. If a global file (owned by root in /etc) sets $FOOBAR but your local (personal) file doesn't, I expect the global file to be ignored and $FOOBAR to be unset for my user. For example, ssh_config(5) says it uses the first set value. makepkg.conf(5) OTOH says it overrides system config with the local config. Just food for thought. |
Well I am open for clearer solutions. what rofi-pass does right now is:
I agree that this seems a bit messy. I am open for better solutions. |
fixed loading multiple config files to one, see #118
add ROFI_PASS_CONFIG environment variable Former-commit-id: b6514f9
Former-commit-id: b14e1c9
fixed loading multiple config files to one, see carnager#118 Former-commit-id: 8a5a12e
No description provided.