1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 07:07:46 +00:00

Merge pull request #104 from efx/ls-hidden-draft

ls mod: hidden files
This commit is contained in:
Darren Schroeder 2021-11-01 11:38:17 -05:00 committed by GitHub
commit ffc36c2b18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
ls_mods/ls-hidden.nu Normal file
View file

@ -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 '.') }
}