From: Oleg Broytman Date: Tue, 9 Jul 2024 09:50:58 +0000 (+0300) Subject: .shellrc: Logout or exit X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3d920430aef6b1360f448ee56c2093950eee382a;p=dotfiles.git .shellrc: Logout or exit --- diff --git a/.shellrc b/.shellrc index 6194d4b..649cefb 100644 --- a/.shellrc +++ b/.shellrc @@ -209,4 +209,4 @@ if [ "$SHLVL" -eq 1 ] && which startx >/dev/null 2>&1; then X() { startx >> .Xserver.log 2>&1; cyr; /bin/rm -f .Xauthority; } fi -alias x=exit +alias x='logout || exit'