diff --git a/home/nushell/config.nu b/home/nushell/config.nu index 8ef706c..d33d7e9 100755 --- a/home/nushell/config.nu +++ b/home/nushell/config.nu @@ -1,7 +1,6 @@ # Nushell Config File source ~/.cache/starship/init.nu -source ~/.zoxide.nu alias zj = zellij alias zjd = zellij --layout ../.config/zellij/snowflake.kdl diff --git a/home/nushell/env.nu b/home/nushell/env.nu index 9dc648b..f814424 100755 --- a/home/nushell/env.nu +++ b/home/nushell/env.nu @@ -60,7 +60,6 @@ let-env NU_PLUGIN_DIRS = [ mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu -zoxide init nushell | save -f ~/.zoxide.nu # To add entries to PATH (on Windows you might use Path), you can use the following pattern: # let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path') diff --git a/home/zoxide/default.nix b/home/zoxide/default.nix new file mode 100644 index 0000000..d11eb9b --- /dev/null +++ b/home/zoxide/default.nix @@ -0,0 +1,11 @@ +{ + ... +}: { + programs.zoxide = { + enable = true; + enableNushellIntegration = true; + options = [ + "--cmd cdd" + ]; + }; +}