diff --git a/users/tao/nushell/extras/alias.nu b/users/tao/nushell/extras/alias.nu index 9c83a53..d4f711e 100644 --- a/users/tao/nushell/extras/alias.nu +++ b/users/tao/nushell/extras/alias.nu @@ -52,6 +52,6 @@ def --env c [path: path = "~"] { l } -def l --wrapped [...rest] { - ls ...$rest | sort-by type name -i -n +def l --wrapped [path: path = ".", ...rest] { + ls ...$rest $path | sort-by type name -i -n }