Skip to content

Commit

Permalink
antidote: fix .dot path
Browse files Browse the repository at this point in the history
Add $HOME to pin .zsh_plugin path, prevents antidote from creating
empty .zsh_plugins.txt in pwd while new zsh process starting.
  • Loading branch information
hitsmaxft authored and rycee committed Jun 27, 2023
1 parent 0ee5ab6 commit 3bc1bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/programs/antidote.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bc1bc4

Please sign in to comment.