Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf80e224

Browse files
authored
Merge pull request#223 from fabiob/patch-1
Adds NixOS instructions to README.md
2 parentsaebea97 +ce1ee31 commitf80e224

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎README.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ z -b foo bar # replace foo with bar in cwd and cd there
7878

7979
eval "$(lua /path/to/z.lua --init bash enhanced once fzf)"
8080

81+
NixOS users using home-manager can add this to their user profile:
82+
83+
programs.z-lua.enable = true;
84+
programs.z-lua.enableBashIntegration = true;
85+
programs.z-lua.options = [ "enhanced" "once" "fzf" ]; # modify as needed
86+
8187
**NOTE**: For wsl-1 users,`lua-filesystem` must be installed:
8288

8389
sudo apt-get install lua-filesystem
@@ -92,6 +98,12 @@ z -b foo bar # replace foo with bar in cwd and cd there
9298

9399
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).
94100

101+
NixOS users using home-manager can add this to their user profile:
102+
103+
programs.z-lua.enable = true;
104+
programs.z-lua.enableZshIntegration = true;
105+
programs.z-lua.options = [ "enhanced" "once" "fzf" ]; # modify as needed
106+
95107
**NOTE**: for wsl-1 users,`lua-filesystem` must be installed.
96108

97109
- Posix Shells:
@@ -118,6 +130,12 @@ z -b foo bar # replace foo with bar in cwd and cd there
118130

119131
into the same file.
120132

133+
NixOS users using home-manager can add this to their user profile:
134+
135+
programs.z-lua.enable = true;
136+
programs.z-lua.enableFishIntegration = true;
137+
programs.z-lua.options = [ "enhanced" "once" "fzf" ]; # modify as needed
138+
121139
- Nushell
122140

123141
Put something like this in your`env.nu`:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp