From 8a5da26f4d52c7b2dfe69be91223e803123fb7f8 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 10 Apr 2025 12:42:49 -0400 Subject: [PATCH] [sh] Fixing atuin env loading --- bash/.bashrc | 5 +++++ zsh/.zshrc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 60d3280..eead6e0 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -52,3 +52,8 @@ set-pg-env() { source /home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh } export PATH="/home/powellc/.shorebird/bin:$PATH" + +. "$HOME/.atuin/bin/env" + +[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh +eval "$(atuin init bash)" diff --git a/zsh/.zshrc b/zsh/.zshrc index 591f303..8536480 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,7 +1,7 @@ # If you come from bash you might have to change your $PATH. export GOPATH="$HOME/.go" export PATH=$HOME/.bin:$HOME/var/bin:/usr/local/bin:$PATH:$HOME/.go/bin - +. "$HOME/.atuin/bin/env" export ZSH="$HOME/.oh-my-zsh" @@ -25,7 +25,7 @@ yayup () { mv ~/.asdf.bak ~/.asdf } -eval "$(atuin init zsh)" +eval "$(/home/powellc/.atuin/bin/atuin init zsh)" local hostname="%{$fg_bold[white]%}%m"