Update .bashrc
This commit is contained in:
parent
9d173571d1
commit
8c197dbe0f
14
dot_bashrc
14
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)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user