update: source direnv if not already loaded
This commit is contained in:
parent
b283245737
commit
d60352500c
1 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,10 @@ end
|
||||||
pushd "$config_dir"
|
pushd "$config_dir"
|
||||||
rm -rf result
|
rm -rf result
|
||||||
|
|
||||||
|
if test -z "$DIRENV_DIR"
|
||||||
|
eval (direnv export fish 2>/dev/null)
|
||||||
|
end
|
||||||
|
|
||||||
if test "$other_hostname" = ""
|
if test "$other_hostname" = ""
|
||||||
switch $nix_os
|
switch $nix_os
|
||||||
case Darwin
|
case Darwin
|
||||||
|
|
Loading…
Reference in a new issue