Add fzf history for zsh
This commit is contained in:
parent
03cc854bfc
commit
b938e9192a
2 changed files with 8 additions and 3 deletions
|
@ -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
|
> All needed Dotfiles to get my system back to a usable state
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
###Requirements
|
### Requirements
|
||||||
|
|
||||||
You will need atleast following packages for it to work
|
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.
|
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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue