Fixed source ordering in load.sh & .zshrc

This commit is contained in:
2022-10-20 14:03:45 -05:00
parent a41f19ab2b
commit 4a3bbdc72e
2 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,5 @@
ALIASES=${TOOLKIT}/sh/custom/aliases.sh
VARS=${TOOLKIT}/sh/custom/vars.sh
ALIASES=${TOOLKIT}/sh/custom_scripts/aliases.sh
VARS=${TOOLKIT}/sh/custom_scripts/vars.sh
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
@ -24,6 +24,11 @@ alias c='clear'
alias journal='journalctl -xe'
alias journal-err='journalctl -p 3 -b'
alias fstab='sudo vim /etc/fstab'
alias rcron='sudo crontab -e'
alias cron='crontab -e'
alias upd-arch='paru -S archlinux-keyring && paru'
alias upd-ubt='sudo apt update -y && sudo apt upgrade -y'
@ -32,7 +37,7 @@ if [[ "$OS" == "Arch Linux" ]]; then
elif [[ $OS == "Ubuntu" ]]; then
alias upd='upd-ubt'
else
alias upd='echo Failed to detect distribution'
alias upd='echo Failed to detect distribution. The script needs to be able to determine the distribution to know which package manager to use'
fi
alias reload='source ~/.zshrc'