fix: use github zsh-nix-shell to make it work
This commit is contained in:
parent
c322853a52
commit
ea687fe813
1 changed files with 7 additions and 1 deletions
|
@ -43,6 +43,7 @@
|
||||||
|
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
export PATH="$PATH:${config.xdg.dataHome}/krew/bin"
|
export PATH="$PATH:${config.xdg.dataHome}/krew/bin"
|
||||||
|
export ZVM_INIT_MODE=sourcing
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dotDir = ".config/zsh";
|
dotDir = ".config/zsh";
|
||||||
|
@ -64,8 +65,13 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "zsh-nix-shell";
|
name = "zsh-nix-shell";
|
||||||
src = pkgs.zsh-nix-shell;
|
|
||||||
file = "nix-shell.plugin.zsh";
|
file = "nix-shell.plugin.zsh";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "chisui";
|
||||||
|
repo = "zsh-nix-shell";
|
||||||
|
rev = "v0.5.0";
|
||||||
|
sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
|
Loading…
Reference in a new issue