summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home-manager
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-05-08 13:56:04 +0200
committermakefu <github@syntax-fehler.de>2019-05-08 13:56:04 +0200
commit6f82bc0e459db88bc9a671565e43aee504dd0e8f (patch)
tree2ccaef17b0641324e44a285b5de9f23fd5514f1e /makefu/2configs/home-manager
parent6067519d8d12af2b9dc9f8abfd2a86206effd4e4 (diff)
ma zsh.nix: manually load direnv
Diffstat (limited to 'makefu/2configs/home-manager')
-rw-r--r--makefu/2configs/home-manager/zsh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefu/2configs/home-manager/zsh.nix b/makefu/2configs/home-manager/zsh.nix
index 267a2e878..d24969ef0 100644
--- a/makefu/2configs/home-manager/zsh.nix
+++ b/makefu/2configs/home-manager/zsh.nix
@@ -25,12 +25,12 @@
then
[ -d .direnv ] || mkdir .direnv
local tmp=$(nix-shell --show-trace "$@" \
- --run "\"$direnv\" dump bash")
+ --run "\"$direnv\" dump zsh")
echo "$tmp" > "$cache"
fi
local path_backup=$PATH term_backup=$TERM
- direnv_load cat "$cache"
+ . "$cache"
export PATH=$PATH:$path_backup TERM=$term_backup