fix: nix not in path

This commit is contained in:
johannes authored and Johannes Kresner committed 2026-07-30 10:46:36 +02:00
1 parent d3460b52ea
commit bcea9014de
3 files changed
+7 -20

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
def "nu-complete pm" [spans: list<string>] {
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" []
+6 -10
View File
@@ -8,7 +8,6 @@ $env.config.history.max_size = 5_000_000
#----------------------- #-----------------------
# Miscellaneous Settings # Miscellaneous Settings
#----------------------- #-----------------------
$env.config.show_banner = false $env.config.show_banner = false
#----------------------------- #-----------------------------
@@ -115,15 +114,7 @@ overlay use scripts/alias-finder.nu
source scripts/commands.nu source scripts/commands.nu
#source vendor/autoload/wt.nu source ~/.local/share/nushell/vendor/autoload/wt.nu
#-----------------
# Completion files
#-----------------
source completions/pm.nu
fastfetch
#---------------- #----------------
# Custom Commands # Custom Commands
@@ -156,3 +147,8 @@ $env.config.keybindings = (
# Load machine-local config if it exists # Load machine-local config if it exists
source "~/.local.nu" source "~/.local.nu"
#--------
# Startup
#--------
fastfetch
+1
View File
@@ -6,6 +6,7 @@ path add ~/.cargo/bin
path add ~/.local/bin path add ~/.local/bin
path add ~/go/bin path add ~/go/bin
path add ~/.local/share/bob/nvim-bin path add ~/.local/share/bob/nvim-bin
path add ~/.nix-profile/bin
$env.SHELL = '/usr/bin/nu' $env.SHELL = '/usr/bin/nu'
$env.ZELLIJ_SOCKET_DIR = '/tmp/zellij' $env.ZELLIJ_SOCKET_DIR = '/tmp/zellij'