Add Hishtory
This commit is contained in:
parent
e6228f01d4
commit
1f22a85b15
2 changed files with 9 additions and 1 deletions
|
@ -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/)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue