Keep zsh when going into nix-shell
This commit is contained in:
@ -15,6 +15,18 @@ in {
|
|||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
plugins = [
|
||||||
|
{
|
||||||
|
name = "zsh-nix-shell";
|
||||||
|
file = "nix-shell.plugin.zsh";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "chisui";
|
||||||
|
repo = "zsh-nix-shell";
|
||||||
|
rev = "v0.8.0";
|
||||||
|
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
phoenix = "sudo phoenix";
|
phoenix = "sudo phoenix";
|
||||||
ls = "eza --icons -l -T -L=1";
|
ls = "eza --icons -l -T -L=1";
|
||||||
|
Reference in New Issue
Block a user