From 758d0542b08a9a7e37a45c1d0938d1647b403091 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Mon, 18 Jan 2021 20:57:59 +0100 Subject: [PATCH] config/shell/functions: add journalctl aliases --- .config/shell/functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/shell/functions b/.config/shell/functions index f2b9d9c..4c73661 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -145,6 +145,10 @@ alias sc='sudo systemctl' alias scu='systemctl --user' alias scrw='sudo systemctl restart display-manager' +alias jcl='sudo SYSTEMD_LESS=FRKi journalctl --boot --no-hostname -e' +alias jc='jcl -u' +alias jcj='jcl -o json-pretty -u' + alias grp='grep --line-number --ignore-case --binary-files=without-match --directories=skip' alias grpr='grp --recursive' # Use grep and sed to replace $1 with $2 recursively