jog icon indicating copy to clipboard operation
jog copied to clipboard

Simple script to print the last 10 commands you ran in the current directory

Results 4 jog issues
Sort by recently updated
recently updated
newest added

On most systems, echo ... >> file will create a new file with permissions set to 664. However, .zsh_history_ext should be 600, the same as .zsh_history. I've created #10 to...

``` $ cd $ echo '123 456' $ cat ~/.zsh_history_ext $ echo '123 456'|/home/user $ jog 456' ``` `jog` shows just the last line of a multi-line command

``` ❯ jog cut: the delimiter must be a single character Try 'cut --help' for more information. ```

... 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...