1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-30 21:57:44 +00:00

fix: use proper path type for path argument for eza (#920)

Using `string` may disable `~` expansion in modern nushell (>= 0.95)

Signed-off-by: OJarrisonn <j.h.m.t.v.10@gmail.com>
This commit is contained in:
OJarrisonn_ 2024-07-27 16:05:22 -03:00 committed by GitHub
parent 60b1444742
commit 6bbd75120d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,7 @@ def "nu-complete eza color-scale-mode" [] {
# A modern, maintained replacement for ls
export extern "eza" [
path?: path # folder to list
--help # show list of command-line options
--version(-v) # show version of eza
--oneline(-1) # display one entry per line