X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Fshell%2Faliases.in;h=0076a5603912b19c0e3218114e6485dbe24b678f;hp=a2f03415549a947d011c93b6d3738bf421a940fc;hb=3d5c932538a21d556c8266bf0a465bb5ca148dbd;hpb=ccaa5dd73ac47e8a672f0d86609104323b5da008 diff --git a/shell/shell/aliases.in b/shell/shell/aliases.in index a2f0341..0076a56 100644 --- a/shell/shell/aliases.in +++ b/shell/shell/aliases.in @@ -44,9 +44,15 @@ alias sa=ssh-add alias ta=task alias te=tree alias ti=timew -# systemd ... (sc is provided as shell script for better completion) -alias jc=journalctl -alias lc=loginctl + +# systemd ... (sc is provided as shell script for better completion); redirect +# stderr because my color-stderr hack breaks systemd's terminal detection. +jc() { + journalctl "$@" 2>&1 +} +lc() { + loginctl "$@" 2>&1 +} unalias mv cp 2>/dev/null