feat: init zoxide

This commit is contained in:
notohh 2023-04-05 15:43:48 -04:00
parent cce3f0a0d7
commit d978022d2c
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -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')

11
home/zoxide/default.nix Normal file
View file

@ -0,0 +1,11 @@
{
...
}: {
programs.zoxide = {
enable = true;
enableNushellIntegration = true;
options = [
"--cmd cdd"
];
};
}