[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

@ -31,6 +31,7 @@ alias clear_incoming="sudo find /tank/videos/incoming -type d -maxdepth 1 -minde
alias lk="load_keys"
# Hungryroot
alias hrhup="sysu restart hungryroot-django"
alias hrtest="$HUNGRYROOT_DIR/manage.py test --keepdb"
alias hr="cd $HUNGRYROOT_DIR"
alias hrdj="(cd $HUNGRYROOT_DIR && just django)"

File diff suppressed because one or more lines are too long

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}"