File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ use_flake() {
233
233
|| "$need_update" == "1"
234
234
]];
235
235
then
236
- if [[ "$_nix_direnv_manual_reload" == "1" && -z "$_nix_direnv_force_reload" ]]; then
236
+ if [[ "$_nix_direnv_manual_reload" == "1" && -z "${ _nix_direnv_force_reload-} " ]]; then
237
237
if [[ -e "$profile_rc" ]]; then
238
238
log_status "nix-direnv: cache is out of date. use \"nix-direnv-reload\" to reload"
239
239
else
@@ -388,7 +388,7 @@ use_nix() {
388
388
|| "$need_update" -eq "1"
389
389
]];
390
390
then
391
- if [[ "$_nix_direnv_manual_reload" == "1" && -z "$_nix_direnv_force_reload" ]]; then
391
+ if [[ "$_nix_direnv_manual_reload" == "1" && -z "${ _nix_direnv_force_reload-} " ]]; then
392
392
if [[ -e "$profile_rc" ]]; then
393
393
log_status "nix-direnv: cache is out of date. use \"nix-direnv-reload\" to reload"
394
394
else
You can’t perform that action at this time.
0 commit comments