Skip to content

Instantly share code, notes, and snippets.

@hosamshahin
Last active October 8, 2021 14:23
Show Gist options
  • Save hosamshahin/b67ae0274fecdbb6b8ef8b8e4f97fcaa to your computer and use it in GitHub Desktop.
Save hosamshahin/b67ae0274fecdbb6b8ef8b8e4f97fcaa to your computer and use it in GitHub Desktop.
# Amazon linux
$ sudo yum install hstr
# Ubuntu
sudo apt-get install software-properties-common
sudo apt-add-repository -y ppa:ultradvorka/ppa
sudo apt-get update
sudo apt-get install -y hh
sudo apt-get install -y libncurses5-dev libreadline-dev
wget https://github.com/dvorka/hstr/releases/download/1.10/hh-1.10-src.tgz
tar xf hh-1.10-src.tgz
cd hstr
sudo ./configure && make && sudo make install
hh --show-configuration >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment