Make syslog and journal commands scrollable

This commit is contained in:
Alice Gaudon 2020-01-25 20:15:12 +01:00
parent df0b860396
commit accfe33aa1

4
.zshrc
View File

@ -45,9 +45,9 @@ alias dotgit='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
compdef dotgit='git' compdef dotgit='git'
alias authy="/usr/bin/electron4 --app /usr/lib/authy/app.asar" alias authy="/usr/bin/electron4 --app /usr/lib/authy/app.asar"
alias syslog="sudo journalctl -f | ccze" alias syslog="sudo journalctl -f | ccze -A"
journal() { journal() {
sudo journalctl -f -u $1 | ccze sudo journalctl -f -u $1 | ccze -A
} }
# Random chars # Random chars