Просмотр исходного кода

[bash] Add a few more work aliases

Colin Powell 11 часов назад
Родитель
Сommit
8e7031ff68
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      bash/.aliases

+ 3 - 0
bash/.aliases

@@ -32,4 +32,7 @@ alias djsh="(cd ~/src/github.com/hungryroot/hungryroot && just djshell)"
 
 alias qa="(cd ~/src/github.com/hungryroot/hungryroot && just env-exec qa)"
 alias stage="(cd ~/src/github.com/hungryroot/hungryroot && just env-exec stage)"
+alias hrlogs="tail -f -n 50 /tmp/hungryroot-django.log"
 
+alias toggle_ntp="sudo timedatectl set-ntp $(timedatectl show -p NTP --value | grep -q yes && echo false || echo true)"
+alias fixtime="toggle_ntp && toggle_ntp"