diff --git a/ls_mods/ls-hidden.nu b/ls_mods/ls-hidden.nu new file mode 100644 index 0000000..94eee72 --- /dev/null +++ b/ls_mods/ls-hidden.nu @@ -0,0 +1,6 @@ + +def ls-hidden [ + --dir(-d):any # The directory you want to list +] { + ls -a $dir | where { ($it.name | into string | str starts-with '.') } +}