From 1f22a85b15a5f16b17fb3e83d91ea1a09eaaef9f Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Sat, 5 Nov 2022 14:10:34 +0100 Subject: [PATCH] Add Hishtory --- README.md | 4 +++- dot_bashrc | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e915239..5db1f38 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # My dot files managed by [ChezMoi](https://github.com/twpayne/chezmoi) +Built around Bash. Most supervitamined replacements like hishtory or exa stay optional. + ## My friend programs -- shell interpreter : bash and the prompt manager [starship](https://starship.rs/) +- shell : bash, prompt manager [starship](https://starship.rs/), [Hishtory](https://github.com/ddworken/hishtory), [Exa](https://github.com/rivy/rust.exa) - terminal multiplexer: [tmux](https://github.com/tmux/tmux), plugin manager [tpm](https://github.com/tmux-plugins/tpm) and session manager [tmuxp](https://github.com/tmux-python/tmuxp) - a swiss-knife to make life easier: [fzf](https://github.com/junegunn/fzf) - git: configuration and the terminal manager [tig](https://jonas.github.io/tig/) diff --git a/dot_bashrc b/dot_bashrc index 6e2184d..a887809 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -163,5 +163,11 @@ PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" HISTFILE=~/.bash_history +# Hishtory (https://github.com/ddworken/hishtory) +if [ -d "$HOME/.hishtory/" ]; then + export PATH="$PATH:$HOME/.hishtory" + source $HOME/.hishtory/config.sh +fi + # enable history set -o history