From b938e9192ae4c1d7dbbcaab046021413a6e4097334a3ff583165d6de745f2f48 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 19 Jun 2024 00:11:39 +0200 Subject: [PATCH] Add fzf history for zsh --- README.md | 5 +++-- zsh/.zshrc | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bc3cd03..d09cb55 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -#Dotfiles from [Spaenny](https://spenny.tf) +# Dotfiles from [Spaenny](https://spenny.tf) > All needed Dotfiles to get my system back to a usable state ## Install -###Requirements +### Requirements You will need atleast following packages for it to work @@ -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. `git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles` + `stow alacritty nvim plasma zsh` If you just wanna restore one application config you can do so by executing it via package name. diff --git a/zsh/.zshrc b/zsh/.zshrc index db6d3e3..b10bde8 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -107,4 +107,8 @@ alias autoclean='paru -Sc' alias autoclean-all='paru -Scc' 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