mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
Keep zsh when going into nix-shell
This commit is contained in:
parent
68b58ccd0a
commit
63bac87b76
1 changed files with 12 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue