diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 19:36:50 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2026-03-21 19:36:50 +0100 |
| commit | 715dda679810474a259c52bf1922fe8b2726acb5 (patch) | |
| tree | 124eee906f84f63031810eab418b4ed265747d18 | |
| parent | 5723054b6f3f039ae59cab7e894d69e8a875ae31 (diff) | |
| download | dotfiles-715dda679810474a259c52bf1922fe8b2726acb5.tar.gz dotfiles-715dda679810474a259c52bf1922fe8b2726acb5.zip | |
feat(zsh): add zsh plugins (autocomplete, autosuggestions, vi-mode)
| -rw-r--r-- | modules/home/zsh.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index 840e553..7a6cab1 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -7,10 +7,31 @@ let rev = "main"; hash = "sha256-wNxNraqlY3Uy4RTUl/2IwJqfUDz/mqILq5QPNrWZxi8="; }; + zsh-autocomplete = pkgs.fetchFromGitHub { + owner = "marlonrichert"; + repo = "zsh-autocomplete"; + rev = "main"; + hash = "sha256-KYey9sidz8VzgfM9YVaCsVXpKKdCjSHk3tuadQz9Re0="; + }; + zsh-autosuggestions = pkgs.fetchFromGitHub { + owner = "zsh-users"; + repo = "zsh-autosuggestions"; + rev = "master"; + hash = "sha256-KmkXgK1J6iAyb1FtF/gOa0adUnh1pgFsgQOUnNngBaE="; + }; + zsh-vi-mode = pkgs.fetchFromGitHub { + owner = "jeffreytse"; + repo = "zsh-vi-mode"; + rev = "master"; + hash = "sha256-WdZHCVxVVOs4HyG5f56vAA17UWYOvb9Yf6v7M1RIdU4="; + }; in { home.file = { ".zsh_repos/znap".source = znap; + ".zsh_repos/marlonrichert/zsh-autocomplete".source = zsh-autocomplete; + ".zsh_repos/zsh-users/zsh-autosuggestions".source = zsh-autosuggestions; + ".zsh_repos/jeffreytse/zsh-vi-mode".source = zsh-vi-mode; ".zshenv".text = '' ##!/bin/zsh # @@ -50,6 +71,7 @@ in # https://github.com/koalaman/shellcheck/issues/809 # shellcheck disable=SC1090 # sourced filenames with variables + ZNAP_REPOS=~/.zsh_repos source ~/.zsh_repos/znap/znap.zsh # Start Znap znap eval starship 'starship init zsh --print-full-init' |
