... you can just add following to your .zshrc file ``` function jog { grep -v "jog" ~/.zsh_history_ext | grep -a --color=never "${PWD} " | cut -f1 -d"⋮" | tail } function zshaddhistory() { echo "${1%%$'\n'}⋮${PWD} " >> ~/.zsh_history_ext } ```
... you can just add following to your .zshrc file