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:
parent
3f44d7238b
commit
eb0dc27f4a
1 changed files with 1 additions and 0 deletions
1
ls_mods/ls-hidden.nu
Normal file
1
ls_mods/ls-hidden.nu
Normal file
|
@ -0,0 +1 @@
|
|||
ls -a | where | { each { echo $it.name | str starts-with '.'} }
|
Loading…
Add table
Add a link
Reference in a new issue