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

finish example thanks to fdncred

Pure gold: https://github.com/nushell/nu_scripts/pull/104#issuecomment-956335793
This commit is contained in:
Eli Flanagan 2021-11-01 11:50:33 -04:00
parent eb0dc27f4a
commit 275893f40b
No known key found for this signature in database
GPG key ID: 89A9465A259119BF

View file

@ -1 +1,6 @@
ls -a | where | { each { echo $it.name | str starts-with '.'} }
def ls-hidden [
--dir(-d):any # The directory you want to list
] {
ls -a $dir | where { ($it.name | into string | str starts-with '.') }
}