From 0c0630bc622b8c007a5a252a2ba32b1e22ab352b Mon Sep 17 00:00:00 2001 From: ozpv <39195175+ozpv@users.noreply.github.com> Date: Sat, 28 Dec 2024 02:07:18 -0600 Subject: update zsh --- home.nix | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/home.nix b/home.nix index c0d6580..37acc3b 100644 --- a/home.nix +++ b/home.nix @@ -40,6 +40,10 @@ programs.zsh = { enable = true; + enableCompletion = true; + autosuggestion.enable = true; + syntaxHighlighting.enable = true; + shellAliases = { cp = "cp -v"; mv = "mv -v"; @@ -47,26 +51,13 @@ mkdir = "mkdir -v -p"; rmdir = "rmdir -v"; ls = "ls -hla --color=auto"; + l = "ls -hla --color=auto"; + ll = "ls -hla --color=auto"; grep = "grep --color=auto"; - vim-basic = "vim"; + bvim = "vim"; vim = "nvim"; }; - plugins = [ - { - name = "zsh-autosuggestions"; - src = fetchGit { - url = "https://github.com/zsh-users/zsh-autosuggestions.git"; - rev = "c3d4e576c9c86eac62884bd47c01f6faed043fc5"; - }; - } - { - name = "zsh-syntax-highlighting"; - src = fetchGit { - url = "https://github.com/zsh-users/zsh-syntax-highlighting.git"; - rev = "e0165eaa730dd0fa321a6a6de74f092fe87630b0"; - }; - } - ]; + history.size = 10000; }; } -- cgit v1.2.3