Add fzf history for zsh

This commit is contained in:
Philipp 2024-06-19 00:11:39 +02:00
parent 03cc854bfc
commit b938e9192a
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
2 changed files with 8 additions and 3 deletions

View file

@ -13,6 +13,7 @@ You will need atleast following packages for it to work
For stow to restore the old state you have to run following command. For stow to restore the old state you have to run following command.
`git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles` `git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles`
`stow alacritty nvim plasma zsh` `stow alacritty nvim plasma zsh`
If you just wanna restore one application config you can do so by executing it via package name. If you just wanna restore one application config you can do so by executing it via package name.

View file

@ -107,4 +107,8 @@ alias autoclean='paru -Sc'
alias autoclean-all='paru -Scc' alias autoclean-all='paru -Scc'
alias kexec-load="sudo kexec -l /boot/vmlinuz-linux-zen --initrd=/boot/initramfs-linux-zen.img --reuse-cmdline" alias kexec-load="sudo kexec -l /boot/vmlinuz-linux-zen --initrd=/boot/initramfs-linux-zen.img --reuse-cmdline"
# Setup better history with fzf
source <(fzf --zsh)
HISTFILE=~/.zsh_history
HISTSIZE=10000
HISTSAVE=10000