Skip to content

Instantly share code, notes, and snippets.

@RobertoD91
Last active April 11, 2020 15:23
Show Gist options
  • Save RobertoD91/bd994eefa1e35428b62435386bf2b138 to your computer and use it in GitHub Desktop.
Save RobertoD91/bd994eefa1e35428b62435386bf2b138 to your computer and use it in GitHub Desktop.
hstr kali workaroud libreadline 8
#!/bin/bash
## build hstr on kali
set -e
cd ~
git clone https://github.com/dvorka/hstr.git
cd hstr/
sudo apt install automake autoconf pkg-config gcc make libncursesw5-dev libreadline-dev
# autotools not avarable in kali
cd ./build/tarball && ./tarball-automake.sh && cd ../..
./configure
make
sudo make install
## config
# bash
hstr --show-configuration >> ~/.bashrc
# zsh
hstr --show-configuration >> ~/.zshrc
## ubuntu
# sudo add-apt-repository ppa:ultradvorka/ppa && sudo apt-get update && sudo apt-get install hstr && hstr --show-configuration >> ~/.bashrc && . ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment