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

ls mod: hidden files

I am attempting to list hidden files. But I am unsure how to use where and each together. Any tips appreciated!
This commit is contained in:
Eli Flanagan 2021-11-01 09:34:20 -04:00
parent 3f44d7238b
commit eb0dc27f4a
No known key found for this signature in database
GPG key ID: 89A9465A259119BF

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

@ -0,0 +1 @@
ls -a | where | { each { echo $it.name | str starts-with '.'} }