Skip to content

you don't need separate jog file ... #7

@alec-c4

Description

@alec-c4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions