[bash] Updating aliases, adding hrhup

This commit is contained in:
2026-02-27 11:34:24 -05:00
parent 3456e53b5c
commit 662952b755
3 changed files with 1043 additions and 190 deletions

View File

@ -26,13 +26,12 @@ eosup() {
# quick way to fix clock drift in UTM VM
toggle_ntp() {
timedatectl set-ntp "$(
timedatectl show -p NTP --value | grep -qi '^yes$' && echo false || echo true
)"
timedatectl set-ntp "$(
timedatectl show -p NTP --value | grep -qi '^yes$' && echo false || echo true
)"
}
alias fixtime="toggle_ntp && toggle_ntp"
local hostname="%{$fg_bold[white]%}%m"
PROMPT="${hostname} ${PROMPT}"