mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 15:14:26 +00:00
antidote: fix package source path
Changes 'source %antidote%/antidote.zsh' to 'source %antidote%/share/antidote/antidote.zsh'
This commit is contained in:
parent
70ac18872a
commit
491f74db89
2 changed files with 3 additions and 4 deletions
|
@ -39,7 +39,7 @@ in {
|
|||
### move zsh_plugins.txt
|
||||
programs.zsh.initExtraBeforeCompInit = ''
|
||||
## home-manager/antidote begin :
|
||||
source ${cfg.package}/antidote.zsh
|
||||
source ${cfg.package}/share/antidote/antidote.zsh
|
||||
${optionalString cfg.useFriendlyNames
|
||||
"zstyle ':antidote:bundle' use-friendly-names 'yes'"}
|
||||
bundlefile=${relToDotDir ".zsh_plugins.txt"}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let relToDotDirCustom = ".zshplugins";
|
||||
|
||||
in {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
@ -20,7 +19,7 @@ in {
|
|||
|
||||
nmt.script = ''
|
||||
assertFileContains home-files/${relToDotDirCustom}/.zshrc \
|
||||
'source @antidote@/antidote.zsh'
|
||||
'source @antidote@/share/antidote/antidote.zsh'
|
||||
assertFileContains home-files/${relToDotDirCustom}/.zshrc \
|
||||
'antidote load'
|
||||
assertFileContains home-files/${relToDotDirCustom}/.zshrc \
|
||||
|
|
Loading…
Reference in a new issue