Wow jog is tiny:
grep -a "${PWD} " ~/.zsh_history_ext | cat | cut -f1 -d"|" | tail grep -a "${PWD} " ~/.zsh_history_ext | cat | cut -f1 -d"|" | tailThen again, cut would do the same thing anyway.