From ce1ee31529a50a56ee1862870fc53932bc8f61ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20D=2E=20Batista?= Date: Thu, 31 Jul 2025 18:18:15 -0300 Subject: [PATCH] Adds NixOS instructions to README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 086b89f..7143e3e 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,12 @@ z -b foo bar # replace foo with bar in cwd and cd there eval "$(lua /path/to/z.lua --init bash enhanced once fzf)" + NixOS users using home-manager can add this to their user profile: + + programs.z-lua.enable = true; + programs.z-lua.enableBashIntegration = true; + programs.z-lua.options = [ "enhanced" "once" "fzf" ]; # modify as needed + **NOTE**: For wsl-1 users, `lua-filesystem` must be installed: sudo apt-get install lua-filesystem @@ -92,6 +98,12 @@ z -b foo bar # replace foo with bar in cwd and cd there Options like "enhanced", "once" and "fzf" can be used after `--init` too. It can also be initialized from "skywind3000/z.lua" with your zsh plugin managers (antigen / oh-my-zsh). + NixOS users using home-manager can add this to their user profile: + + programs.z-lua.enable = true; + programs.z-lua.enableZshIntegration = true; + programs.z-lua.options = [ "enhanced" "once" "fzf" ]; # modify as needed + **NOTE**: for wsl-1 users, `lua-filesystem` must be installed. - Posix Shells: @@ -118,6 +130,12 @@ z -b foo bar # replace foo with bar in cwd and cd there into the same file. + NixOS users using home-manager can add this to their user profile: + + programs.z-lua.enable = true; + programs.z-lua.enableFishIntegration = true; + programs.z-lua.options = [ "enhanced" "once" "fzf" ]; # modify as needed + - Nushell Put something like this in your `env.nu`: