[bash] Updating aliases, adding hrhup
This commit is contained in:
@ -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
@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user