1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-17 05:33:06 -07:00

add an example for cdbusiest

This commit is contained in:
Connor Olding 2021-08-01 08:07:55 -07:00
parent 549f0b3a00
commit cefcd1779e

View File

@ -3,6 +3,14 @@
cdbusiest() { ### @-
### cd to the directory with the most files in it, counted recursively.
###
### ```
### $ cd
### $ cdbusiest
### 152364 src
### $ pwd
### /home/notwa/src
### ```
dbusiest | read -r c d
[ -z $c ] && return 1
printf "%s\n" "$c $d"