Give the word and count the appearance.
The first rust project of mine.
cargo install wcounter
```
wcounter -dest-file="path/to/file" add some_word wcounter -dest-file="path/to/file" show
some_word ... ```
Inspired by the entry
``` typeset -U chpwd_functions
CDHISTORYFILE=${HOME}/.cdhistoryfile # cd history filcd history file function chpwdrecordhistory() { echo $PWD | xargs wcounter --dest-file=${CDHISTORYFILE} add } chpwdfunctions=($chpwdfunctions chpwdrecordhistory)
function fd(){ dest=$(wcounter --dest-file=${CDHISTORYFILE} show --reverse | fzf +m --query "$LBUFFER" --prompt="cd > ") cd $dest }
```