Experimentally switch to using Atuin for shell history
This commit is contained in:
parent
01f7d4f44c
commit
7003ae18ba
2 changed files with 1 additions and 8 deletions
|
@ -1,8 +0,0 @@
|
|||
#! zsh
|
||||
if (( $+commands[sk] )); then
|
||||
# TODO: figure out where lotabout/skim puts these Zsh support files on non-Homebrew installs
|
||||
[[ $- == *i* ]] && source /usr/local/opt/sk/share/zsh/site-functions/completion.zsh 2>/dev/null
|
||||
source /usr/local/opt/sk/share/zsh/site-functions/key-bindings.zsh
|
||||
else
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
fi
|
|
@ -39,6 +39,7 @@ zmodule mollifier/cd-gitroot --fpath . --autoload cd-gitroot
|
|||
zmodule zsh-users/zsh-autosuggestions
|
||||
|
||||
(( ${+commands[brew]} )) && zmodule homebrew
|
||||
zeval-if-installed atuin 'atuin init zsh --disable-up-arrow'
|
||||
zeval-if-installed direnv 'direnv hook zsh'
|
||||
zeval-if-installed scmpuff 'scmpuff init --shell=zsh'
|
||||
|
||||
|
|
Loading…
Reference in a new issue