Skip to content

Commit

Permalink
zsh: finally got rid of the annoying message
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed May 28, 2024
1 parent 16cf627 commit 16a1b5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
26 changes: 7 additions & 19 deletions home-manager/shell/zsh-plugins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,13 @@
...
}: {
# Zsh plugins
programs.zsh.plugins = [
{
name = "zsh-autocomplete";
src = pkgs.fetchFromGitHub {
owner = "marlonrichert";
repo = "zsh-autocomplete";
rev = "196810035992abea65e54852c4278af2069ee482"; # latest commit
hash = "sha256-bzOTeYWrzuYNbeat30zijKJ9kflRhdE/0wD2HwZWXbU=";
};
}
{
name = "fast-syntax-highlighting";
src = pkgs.fetchFromGitHub {
owner = "zdharma-continuum";
repo = "fast-syntax-highlighting";
rev = "cf318e06a9b7c9f2219d78f41b46fa6e06011fd9"; # latest commit
hash = "sha256-RVX9ZSzjBW3LpFs2W86lKI6vtcvDWP6EPxzeTcRZua4=";
};
}
programs.zsh.antidote.enable = true;
programs.zsh.antidote.plugins = [
"zsh-users/zsh-autosuggestions"
"zdharma-continuum/fast-syntax-highlighting"
"marlonrichert/zsh-autocomplete"

];
programs.zsh.enableCompletion = lib.mkForce false; # disable for zsh autocomplete plugin
programs.zsh.autosuggestion.enable = lib.mkForce false;
}
4 changes: 2 additions & 2 deletions home-manager/shell/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ in {

programs.zsh = {
enable = true;
autosuggestion.enable = true;
historySubstringSearch.enable = true;
# autosuggestion.enable = true;
# historySubstringSearch.enable = true;
sessionVariables =
commonSessionVariables
// {
Expand Down

0 comments on commit 16a1b5d

Please sign in to comment.