direnv hook
This commit is contained in:
parent
9d1109798f
commit
2d132286bf
2 changed files with 8 additions and 3 deletions
6
nix/home-manager/flake.lock
generated
6
nix/home-manager/flake.lock
generated
|
@ -82,11 +82,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1684824189,
|
"lastModified": 1685019994,
|
||||||
"narHash": "sha256-k3nCkn5Qy67rCguuw6YkGuL6hOUNRKxQoKOjnapk5sU=",
|
"narHash": "sha256-81o6SKZPALvib21hIOMx2lIhFSs0mRy0PfPvg0zsfTk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "58eb968c21d309a6c2b020ea8d64e25c38ceebba",
|
"rev": "d1f04b0f365a34896a37d9015637796537ec88a3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -9,6 +9,7 @@ then
|
||||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
bindkey -v
|
bindkey -v
|
||||||
# allow ctrl-a and ctrl-e to move to beginning/end of line
|
# allow ctrl-a and ctrl-e to move to beginning/end of line
|
||||||
bindkey '^a' beginning-of-line
|
bindkey '^a' beginning-of-line
|
||||||
|
@ -175,6 +176,10 @@ if (_command-exists yarn); then
|
||||||
export PATH
|
export PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if (_command-exists direnv); then
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
|
fi
|
||||||
|
|
||||||
if (_command-exists pdm); then
|
if (_command-exists pdm); then
|
||||||
eval "$(pdm --pep582 zsh)"
|
eval "$(pdm --pep582 zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue