Update nu scripts
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user