From 9f6b7f1fc9dc81f18b44cb190880467db56ec1fd Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Wed, 19 Mar 2025 17:20:39 +0100 Subject: [PATCH] feat: zoxide --- hosts/default/configuration.nix | 2 ++ modules/home-manager/zsh.nix | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index f38a7b4..e00e4e4 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -124,6 +124,7 @@ fastfetch file filezilla + fzf gccgo gdb geogebra6 @@ -192,6 +193,7 @@ wofi wofi-pass zip + zoxide ]; fonts.packages = with pkgs; [ diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index d6c3103..3930d93 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -12,8 +12,10 @@ cds = "cd \"$HOME/Nextcloud/Obsidian/FH/2. Semester/\""; mux = "tmuxinator"; cat = "bat"; + cd = "z"; }; - initExtra = "fastfetch"; + initExtra = "fastfetch\n + eval \"$(zoxide init zsh)\""; history.size = 10000; autosuggestion.enable = true;