1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-21 14:58:01 +00:00

[zsh] Add atuin conf to shell

This commit is contained in:
Daniel Carrillo 2024-01-25 20:21:03 +01:00
parent 9088a43f22
commit 1499944349
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
2 changed files with 10 additions and 10 deletions

View File

@ -26,7 +26,6 @@ zstyle ':prezto:*:*' color 'yes'
zstyle ':prezto:load' pmodule \
'environment' \
'editor' \
'history' \
'directory' \
'spectrum' \
'utility' \
@ -50,9 +49,9 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
# History
#
zstyle ':prezto:module:history' histfile "~/.zsh_history"
zstyle ':prezto:module:history' histsize "100000"
zstyle ':prezto:module:history' histignorespace "true"
# zstyle ':prezto:module:history' histfile "~/.zsh_history"
# zstyle ':prezto:module:history' histsize "100000"
# zstyle ':prezto:module:history' histignorespace "true"
#
# Prompt

13
.zshrc
View File

@ -19,9 +19,9 @@ setopt clobber
zstyle ':completion:*' rehash true
zstyle ':completion:*' special-dirs true
export HISTFILE=~/.zsh_history
export HISTFILESIZE=100000
export HISTSIZE=100000
# export HISTFILE=~/.zsh_history
# export HISTFILESIZE=100000
# export HISTSIZE=100000
unsetopt correct
unsetopt correctall
@ -90,7 +90,8 @@ siteinfo () {
}
remove_from_hist() {
LC_ALL=C sed -i "/$1/d" $HISTFILE
# LC_ALL=C sed -i "/$1/d" $HISTFILE
atuin search --delete $1
}
##### tilix #####
@ -145,9 +146,9 @@ fi
eval "$(direnv hook zsh)"
# Autocompletion
# Atuin zsh history
# autoload -U compinit && compinit
eval "$(atuin init zsh)"
# custom device