Update nu scripts

This commit is contained in:
2023-03-25 11:04:31 +01:00
parent d10a139a8b
commit 0716666322
2 changed files with 3 additions and 3 deletions

View File

@ -62,5 +62,5 @@ let-env NU_PLUGIN_DIRS = [
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path') # let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
mkdir ~/.cache/starship mkdir ~/.cache/starship
starship init nu | save ~/.cache/starship/init.nu starship init nu | save -f ~/.cache/starship/init.nu
zoxide init nushell | save ~/.cache/zoxide.nu zoxide init nushell | save -f ~/.cache/zoxide.nu

View File

@ -31,6 +31,6 @@ def elf-symbols [
let section_start = ($section | get addr) let section_start = ($section | get addr)
let section_end = ($section_start + ($section | get size)) let section_end = ($section_start + ($section | get size))
$symbols | where addr >= $section_start && addr < $section_end $symbols | where addr >= $section_start and addr < $section_end
} }
} }