Make syslog and journal commands scrollable
This commit is contained in:
parent
df0b860396
commit
accfe33aa1
4
.zshrc
4
.zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user