Kev Posted December 28, 2020 Report Posted December 28, 2020 It was initially made for bash, but it supports zsh and ksh, too. If you want to use it with tcsh, make sure tcsh saves its history to ~/.tcsh_history. Installation Make sure you have ncurses packages installed. sudo apt install libncurses5 libncurses5-dev libncursesw5 libncursesw5-dev Then run: cargo install --git https://github.com/adder46/hstr-rs.git If on bash, add this to .bashrc: # append new history items to .bash_history shopt -s histappend # don't put duplicate lines or lines starting with space in the history HISTCONTROL=ignoreboth # increase history file size HISTFILESIZE=1000000 # increase history size HISTSIZE=${HISTFILESIZE} # append new entries from memory to .bash_history, and vice-versa export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}" Usage Making an alias should be the most convenient option, so you can add this to ~/.bash_aliases: alias hh=hstr-rs Screencast Download: hstr-rs-master.zip or git clone https://github.com/adder46/hstr-rs.git Source 1 Quote