]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: Logout or exit
authorOleg Broytman <phd@phdru.name>
Tue, 9 Jul 2024 09:50:58 +0000 (12:50 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 10 Jul 2024 13:01:57 +0000 (16:01 +0300)
.shellrc

index 6194d4b2466a99f754ab5a90200c1c52d41f4c78..649cefb390e6e19c37e7c0091c8327a8a4c77756 100644 (file)
--- 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'