fix: use github zsh-nix-shell to make it work

This commit is contained in:
winston 2023-02-08 10:04:55 +01:00
parent c322853a52
commit ea687fe813
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -43,6 +43,7 @@
envExtra = ''
export PATH="$PATH:${config.xdg.dataHome}/krew/bin"
export ZVM_INIT_MODE=sourcing
'';
dotDir = ".config/zsh";
@ -64,8 +65,13 @@
}
{
name = "zsh-nix-shell";
src = pkgs.zsh-nix-shell;
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.5.0";
sha256 = "0za4aiwwrlawnia4f29msk822rj9bgcygw6a8a6iikiwzjjz0g91";
};
}
];
shellAliases = {