nushell: add wldd function

This commit is contained in:
LordMZTE 2024-05-20 23:08:36 +02:00
parent 6fed4362d3
commit ed65d54832
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -43,3 +43,11 @@ def ll [path: glob = "."] { ls -la $path | sort-by type }
def la [path: glob = "."] { ls -a $path | sort-by type }
alias nv = nvim
alias nvide = & neovide "--no-fork"
# Misc functions
def wldd [path: string] {
match (which $path) {
[{ path: $p }] => { ldd $p },
_ => { error make { msg: $"No external command ($path)" } },
}
}