diff options
author | makefu <github@syntax-fehler.de> | 2019-05-08 13:56:04 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-05-08 13:56:04 +0200 |
commit | 6607c4ae00f806ca661218a97227bcf8c00181d7 (patch) | |
tree | dfc69041b63182755efaabf1e2ff92bc76458ba6 /2configs/home-manager | |
parent | af685af15bdab5f45077c8ddc92d2987161fbcb5 (diff) |
ma zsh.nix: manually load direnv
Diffstat (limited to '2configs/home-manager')
-rw-r--r-- | 2configs/home-manager/zsh.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/2configs/home-manager/zsh.nix b/2configs/home-manager/zsh.nix index 267a2e878..d24969ef0 100644 --- a/2configs/home-manager/zsh.nix +++ b/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 |