bug fix for fixwreboto and atuin initialize if installed

This commit is contained in:
Yuriy 2024-08-14 01:22:53 -04:00
parent 3d313fadf6
commit a31528677d

11
.bashrc
View File

@ -397,6 +397,7 @@ update() {
updatewr() {
# Run the Update function
update
# Restart
sudo reboot
@ -506,4 +507,12 @@ alias gr="touch README.md ;nano README.md" # choco install nano -y
if command -v zoxide &> /dev/null; then
# Initialize zoxide with the 'cd' command
eval "$(zoxide init --cmd cd bash)"
fi
fi
if command -v atuin &> /dev/null; then
# Initialize preexec and atuin if atuin is installed
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh
eval "$(atuin init bash)"
fi