From 8c197dbe0f42c308ce304dd41e43832aee461cd6 Mon Sep 17 00:00:00 2001 From: tombdf Date: Fri, 20 Dec 2024 19:03:15 +0100 Subject: [PATCH] Update .bashrc --- dot_bashrc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/dot_bashrc b/dot_bashrc index 7b2172d..d8ef639 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -8,6 +8,8 @@ case $- in *) return;; esac +export PATH="$HOME/.atuin/bin:$PATH" + # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth @@ -103,15 +105,6 @@ alias waterfox='~/waterfox/waterfox' # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' -# Alias definitions. -# You may want to put all your additions into a separate file like -# ~/.bash_aliases, instead of adding them here directly. -# See /usr/share/doc/bash-doc/examples in the bash-doc package. - -if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases -fi - # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). @@ -139,3 +132,6 @@ fi eval "$(zoxide init --cmd cd bash)" eval "$(oh-my-posh init bash)" + +[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh +eval "$(atuin init bash)"