From fd4bfb5ddf967d9f7f30936757c5bfccdaaf3ea8 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 21 Jul 2024 07:15:55 +0300 Subject: [PATCH] rc/{bash,zsh}rc: journalctl aliases for reducing typing --- rc/bashrc | 6 ++++++ rc/zshrc | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/rc/bashrc b/rc/bashrc index 187b36a0..36260d72 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -675,6 +675,12 @@ fi # installations. alias shizuku="adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh" +# journalctl commands I often seem to type by hand +alias journalf="journalctl --no-hostname --follow" +alias journalfu="journalctl --utc --no-hostname --follow" +alias journalb="journalctl --no-hostname --boot" +alias journalbu="journalctl --utc --no-hostname --boot" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/rc/zshrc b/rc/zshrc index a34faca8..71717215 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -663,6 +663,12 @@ fi # installations. alias shizuku="adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh" +# journalctl commands I often seem to type by hand +alias journalf="journalctl --no-hostname --follow" +alias journalfu="journalctl --utc --no-hostname --follow" +alias journalb="journalctl --no-hostname --boot" +alias journalbu="journalctl --utc --no-hostname --boot" + # Allow custom aliases to be put in .aliases or .zsh_aliases . # .aliases