feat: init zoxide
This commit is contained in:
parent
cce3f0a0d7
commit
d978022d2c
3 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
11
home/zoxide/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
options = [
|
||||
"--cmd cdd"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue