bug fix for fixwreboto and atuin initialize if installed
This commit is contained in:
parent
3d313fadf6
commit
a31528677d
11
.bashrc
11
.bashrc
@ -397,6 +397,7 @@ update() {
|
|||||||
|
|
||||||
updatewr() {
|
updatewr() {
|
||||||
# Run the Update function
|
# Run the Update function
|
||||||
|
update
|
||||||
|
|
||||||
# Restart
|
# Restart
|
||||||
sudo reboot
|
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
|
if command -v zoxide &> /dev/null; then
|
||||||
# Initialize zoxide with the 'cd' command
|
# Initialize zoxide with the 'cd' command
|
||||||
eval "$(zoxide init --cmd cd bash)"
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user