Last active
April 11, 2020 15:23
-
-
Save RobertoD91/bd994eefa1e35428b62435386bf2b138 to your computer and use it in GitHub Desktop.
hstr kali workaroud libreadline 8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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