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": {
|
||||
"lastModified": 1684824189,
|
||||
"narHash": "sha256-k3nCkn5Qy67rCguuw6YkGuL6hOUNRKxQoKOjnapk5sU=",
|
||||
"lastModified": 1685019994,
|
||||
"narHash": "sha256-81o6SKZPALvib21hIOMx2lIhFSs0mRy0PfPvg0zsfTk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "58eb968c21d309a6c2b020ea8d64e25c38ceebba",
|
||||
"rev": "d1f04b0f365a34896a37d9015637796537ec88a3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -9,6 +9,7 @@ then
|
|||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||
fi
|
||||
|
||||
|
||||
bindkey -v
|
||||
# allow ctrl-a and ctrl-e to move to beginning/end of line
|
||||
bindkey '^a' beginning-of-line
|
||||
|
@ -175,6 +176,10 @@ if (_command-exists yarn); then
|
|||
export PATH
|
||||
fi
|
||||
|
||||
if (_command-exists direnv); then
|
||||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
|
||||
if (_command-exists pdm); then
|
||||
eval "$(pdm --pep582 zsh)"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue