diff --git a/modules/zsh.nix b/modules/zsh.nix index 16b63f6..dba5b72 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -35,9 +35,14 @@ in if [[ -f ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme ]]; then source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme fi - + # Load Powerlevel10k configuration (managed by Nix) source ~/.p10k.zsh + + # Load zsh-system-clipboard plugin for vi mode clipboard integration + if [[ -f ${pkgs.zsh-system-clipboard}/share/zsh/zsh-system-clipboard/zsh-system-clipboard.zsh ]]; then + source ${pkgs.zsh-system-clipboard}/share/zsh/zsh-system-clipboard/zsh-system-clipboard.zsh + fi # Vim mode configuration # Reduce delay when switching modes (10ms instead of 400ms) @@ -155,6 +160,7 @@ in # Essential packages for enhanced zsh experience home.packages = with pkgs; [ zsh-powerlevel10k + zsh-system-clipboard fzf fd ripgrep