From 0a1f0ab4e2b9cd8397f66a87a1b5d4c596a06f3c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 8 Sep 2022 12:53:46 -0500 Subject: [PATCH] add atuin to the mix --- info/tools.yml | 7 ++++++- lib/env.zsh | 4 ---- lib/prompt.zsh | 5 +++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/info/tools.yml b/info/tools.yml index 2a44ec9..4126ab8 100644 --- a/info/tools.yml +++ b/info/tools.yml @@ -31,7 +31,7 @@ gum: asset: linux_x86_64.tar.gz custom_flags: "--asset ^.sbom" - # system monitoring +# system monitoring bottom: asset: x86_64-unknown-linux-gnu.tar.gz user: ClementTsang @@ -61,6 +61,11 @@ sh: user: mvdan to: shfmt +atuin: + user: ellie + +lazydocker: + user: jesseduffield # file management gdu: diff --git a/lib/env.zsh b/lib/env.zsh index cb99109..a91f19f 100755 --- a/lib/env.zsh +++ b/lib/env.zsh @@ -43,10 +43,6 @@ fi if [[ $PATH != *$HOME/.fzf/bin* ]]; then export PATH="${PATH:+${PATH}:}$HOME/.fzf/bin" fi - -if is-executable fzf; then - source $DOTFILES_DIR/lib/fzf.zsh -fi # --------- # Add lfcd command diff --git a/lib/prompt.zsh b/lib/prompt.zsh index 249310e..718763d 100755 --- a/lib/prompt.zsh +++ b/lib/prompt.zsh @@ -28,3 +28,8 @@ else fi zstyle ':completion::complete:make:*:targets' call-command true + +is-executable fzf && source $DOTFILES_DIR/lib/fzf.zsh + +# atuin must be loaded after to override zsh's ctrl+R completion +is-executable atuin && eval "$(atuin init zsh)"