mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
antidote: fix .dot path
Add $HOME to pin .zsh_plugin path, prevents antidote from creating empty .zsh_plugins.txt in pwd while new zsh process starting.
This commit is contained in:
parent
0ee5ab611d
commit
3bc1bc4012
1 changed files with 2 additions and 2 deletions
|
@ -42,9 +42,9 @@ in {
|
|||
source ${cfg.package}/share/antidote/antidote.zsh
|
||||
${optionalString cfg.useFriendlyNames
|
||||
"zstyle ':antidote:bundle' use-friendly-names 'yes'"}
|
||||
bundlefile=${relToDotDir ".zsh_plugins.txt"}
|
||||
bundlefile=$HOME/${relToDotDir ".zsh_plugins.txt"}
|
||||
zstyle ':antidote:bundle' file $bundlefile
|
||||
staticfile=${relToDotDir ".zsh_plugins.zsh"}
|
||||
staticfile=$HOME/${relToDotDir ".zsh_plugins.zsh"}
|
||||
zstyle ':antidote:static' file $staticfile
|
||||
antidote load $bundlefile $staticfile
|
||||
## home-manager/antidote end
|
||||
|
|
Loading…
Reference in a new issue