fzf integration
This commit is contained in:
parent
2ad68fed9c
commit
56ec3a5f9d
17
zsh/.zshrc
17
zsh/.zshrc
|
@ -1,7 +1,11 @@
|
||||||
|
|
||||||
|
#plugins
|
||||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
|
|
||||||
|
setopt autocd
|
||||||
|
|
||||||
#load bash aliases
|
#load bash aliases
|
||||||
if [ -f ~/.zsh_aliases ]; then
|
if [ -f ~/.zsh_aliases ]; then
|
||||||
. ~/.zsh_aliases
|
. ~/.zsh_aliases
|
||||||
|
@ -24,7 +28,16 @@ fi
|
||||||
eval "$(luarocks path --bin)"
|
eval "$(luarocks path --bin)"
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
#fzf
|
||||||
|
source <(fzf --zsh)
|
||||||
|
|
||||||
|
#starship
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
|
#history file
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
# How many commands to store in history
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
# Share history in every terminal session
|
||||||
|
setopt SHARE_HISTORY
|
||||||
|
|
Loading…
Reference in New Issue