From 6ea01189ad6823093881f41cd02ccd62cd936b81 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 30 Mar 2024 23:50:00 -0500 Subject: [PATCH] feat(zsh): add alias for `journalctl` --- dots/.config/zsh/config/profile/profile/aliases.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dots/.config/zsh/config/profile/profile/aliases.zsh b/dots/.config/zsh/config/profile/profile/aliases.zsh index 539c4896..c1aed910 100644 --- a/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -75,6 +75,11 @@ alias sysu="systemctl --user" alias sys="systemctl" fi + + if command -v journalctl >/dev/null 2>&1; then + alias jrnu="journalctl --user" + alias jrn="journalctl" + fi fi ### Bat ###