Skip to content

Instantly share code, notes, and snippets.

@texzhichen
Last active April 4, 2018 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save texzhichen/c18218b833d647698d19253c85bec8e5 to your computer and use it in GitHub Desktop.
Save texzhichen/c18218b833d647698d19253c85bec8e5 to your computer and use it in GitHub Desktop.
  • install percol
  • .bashrc: bind -x '"\C-R": READLINE_LINE=$(history | tac | cut -c 8- | percol --query "${READLINE_LINE}") READLINE_POINT='
  • .bashrc: export HISTCONTROL=ignoreboth:erasedups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment