Skip to content

Commit

Permalink
Add zsh plugin to open nix-shell in zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoriguchi committed Dec 15, 2023
1 parent d0b7d2b commit 9605100
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions modules/home-manager/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@
ignoreAllDups = true;
};

plugins = [{
name = pkgs.zsh-autosuggestions.pname;
file = "zsh-autosuggestions.zsh";
src = "${pkgs.zsh-autosuggestions}/share/${pkgs.zsh-autosuggestions.pname}";
}];
plugins = [
{
name = pkgs.zsh-autosuggestions.pname;
file = "zsh-autosuggestions.zsh";
src = "${pkgs.zsh-autosuggestions}/share/${pkgs.zsh-autosuggestions.pname}";
}
{
name = pkgs.zsh-nix-shell.pname;
file = "nix-shell.plugin.zsh";
src = "${pkgs.zsh-nix-shell}/share/${pkgs.zsh-nix-shell.pname}";
}
];

localVariables.ZSH_AUTOSUGGEST_STRATEGY = [ "completion" ];

Expand Down

0 comments on commit 9605100

Please sign in to comment.