diff --git a/config/nushell/completions/pm.nu b/config/nushell/completions/pm.nu deleted file mode 100644 index 7ae0069..0000000 --- a/config/nushell/completions/pm.nu +++ /dev/null @@ -1,10 +0,0 @@ -def "nu-complete pm" [spans: list] { - let args = ($spans | skip 1) - let index = (($args | length) - 1) - ^pm completion query --json --index $index -- ...$args - | from json - | each {|it| {value: $it.value description: ($it | get -o description | default "")}} -} - -@complete 'nu-complete pm' -export extern "pm" [] diff --git a/config/nushell/config.nu b/config/nushell/config.nu index 651e660..ffbacc5 100644 --- a/config/nushell/config.nu +++ b/config/nushell/config.nu @@ -8,7 +8,6 @@ $env.config.history.max_size = 5_000_000 #----------------------- # Miscellaneous Settings #----------------------- - $env.config.show_banner = false #----------------------------- @@ -115,15 +114,7 @@ overlay use scripts/alias-finder.nu source scripts/commands.nu -#source vendor/autoload/wt.nu - -#----------------- -# Completion files -#----------------- - -source completions/pm.nu - -fastfetch +source ~/.local/share/nushell/vendor/autoload/wt.nu #---------------- # Custom Commands @@ -156,3 +147,8 @@ $env.config.keybindings = ( # Load machine-local config if it exists source "~/.local.nu" +#-------- +# Startup +#-------- + +fastfetch diff --git a/config/nushell/env.nu b/config/nushell/env.nu index a96e2db..0071f9f 100644 --- a/config/nushell/env.nu +++ b/config/nushell/env.nu @@ -6,6 +6,7 @@ path add ~/.cargo/bin path add ~/.local/bin path add ~/go/bin path add ~/.local/share/bob/nvim-bin +path add ~/.nix-profile/bin $env.SHELL = '/usr/bin/nu' $env.ZELLIJ_SOCKET_DIR = '/tmp/zellij'