From 9b6c34b973d201251bec904417d87431c7d32a2e Mon Sep 17 00:00:00 2001 From: Canop Date: Sun, 5 Jul 2020 08:59:51 +0200 Subject: fix the `dcd` snippet in doc (was using old cdm syntax) --- src/file_sum/mod.rs | 9 +++------ website/docs/tricks.md | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/file_sum/mod.rs b/src/file_sum/mod.rs index a6fec11..9cbd983 100644 --- a/src/file_sum/mod.rs +++ b/src/file_sum/mod.rs @@ -1,9 +1,6 @@ -/// compute the summed sum of directories. -/// A cache is used to avoid recomputing the -/// same directories again and again. -/// Hard links are checked to avoid counting -/// twice an inode. -/// +/// compute consolidated data for directories: modified date, size, and count. +/// A cache is used to avoid recomputing the same directories again and again. +/// On unix, hard links are checked to avoid counting twice an inode. mod sum_computation; diff --git a/website/docs/tricks.md b/website/docs/tricks.md index 3fe923f..2f73a46 100644 --- a/website/docs/tricks.md +++ b/website/docs/tricks.md @@ -15,7 +15,7 @@ As broot can be driven by commands, you can define this function: # deep fuzzy cd function dcd { - br --only-folders --cmd "$1 :cd" + br --only-folders --cmd "$1;:cd" } (paste this for example in your .bashrc) -- cgit v1.2.3