mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-05 03:22:32 +01:00
nushell: add wldd function
This commit is contained in:
parent
6fed4362d3
commit
ed65d54832
1 changed files with 8 additions and 0 deletions
|
@ -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)" } },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue