From 7003ae18ba3e4bbd7cb74a10ad45710fa157bfcc Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 28 Nov 2023 00:12:13 +1100 Subject: [PATCH] Experimentally switch to using Atuin for shell history --- dot-config/zsh/interactive/skim.zsh | 8 -------- dot-config/zsh/zimrc.zsh | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 dot-config/zsh/interactive/skim.zsh diff --git a/dot-config/zsh/interactive/skim.zsh b/dot-config/zsh/interactive/skim.zsh deleted file mode 100644 index 223750d..0000000 --- a/dot-config/zsh/interactive/skim.zsh +++ /dev/null @@ -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 diff --git a/dot-config/zsh/zimrc.zsh b/dot-config/zsh/zimrc.zsh index 4234941..4ebd930 100644 --- a/dot-config/zsh/zimrc.zsh +++ b/dot-config/zsh/zimrc.zsh @@ -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'