mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
Add Hishtory
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
# My dot files managed by [ChezMoi](https://github.com/twpayne/chezmoi)
|
# 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
|
## 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)
|
- 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)
|
- 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/)
|
- 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
|
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
|
# enable history
|
||||||
set -o history
|
set -o history
|
||||||
|
|||||||
Reference in New Issue
Block a user