From accfe33aa1b5c862bd11bfe435a16967ab8ed52c Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Sat, 25 Jan 2020 20:15:12 +0100 Subject: [PATCH] Make syslog and journal commands scrollable --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index aeff6bb..00d14ad 100644 --- a/.zshrc +++ b/.zshrc @@ -45,9 +45,9 @@ alias dotgit='git --git-dir=$HOME/dotfiles/ --work-tree=$HOME' compdef dotgit='git' 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() { - sudo journalctl -f -u $1 | ccze + sudo journalctl -f -u $1 | ccze -A } # Random chars