From 521d51b1ce13e7d249a7426e1c1f501508dcb26d Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Mon, 4 Mar 2024 16:20:07 +0100 Subject: [PATCH] Enable zoxide this way --- home-manager/package-configs/zsh.nix | 4 ++++ nixos/shared/default.nix | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home-manager/package-configs/zsh.nix b/home-manager/package-configs/zsh.nix index 09eedb5..4cd8ac9 100644 --- a/home-manager/package-configs/zsh.nix +++ b/home-manager/package-configs/zsh.nix @@ -11,6 +11,10 @@ enable = true; }; + programs.zoxide = { + enable = true; + }; + programs.zsh = { enable = true; plugins = [ diff --git a/nixos/shared/default.nix b/nixos/shared/default.nix index 11217d3..55493b2 100644 --- a/nixos/shared/default.nix +++ b/nixos/shared/default.nix @@ -54,10 +54,6 @@ # Enable completion of system packages by zsh environment.pathsToLink = ["/share/zsh"]; - environment.interactiveShellInit = '' - alias cd='z' - ''; - users.mutableUsers = false; users.users.root = {