From 4450eb8fc6336977e13902ed7d9dca63f59b3a85 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 17 Jan 2024 12:12:28 -0700 Subject: [PATCH] add atuin to fish config and fix is-interactive content --- dot_config/private_fish/config.fish | 11 ++++++----- dot_config/private_fish/dot_on_install.fish | 3 +++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/dot_config/private_fish/config.fish b/dot_config/private_fish/config.fish index e01c132..86e9a8d 100644 --- a/dot_config/private_fish/config.fish +++ b/dot_config/private_fish/config.fish @@ -1,13 +1,14 @@ if status is-interactive # Commands to run in interactive sessions can go here + zoxide init fish | source + atuin init fish | source + + if test -f ~/.config/fish/config.fish.local + source ~/.config/fish/config.fish.local + end end fish_add_path $HOME/.webman/bin set -gx EDITOR nvim -zoxide init fish | source - -if test -f ~/.config/fish/config.fish.local - source ~/.config/fish/config.fish.local -end diff --git a/dot_config/private_fish/dot_on_install.fish b/dot_config/private_fish/dot_on_install.fish index 81a5d62..8f964fc 100644 --- a/dot_config/private_fish/dot_on_install.fish +++ b/dot_config/private_fish/dot_on_install.fish @@ -2,3 +2,6 @@ curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fi fisher install IlanCosman/tide@v6 fisher install PatrickF1/fzf.fish + +bash (curl https://raw.githubusercontent.com/atuinsh/atuin/main/install.sh | psub) +atuin import auto