From: Oleg Broytman Date: Mon, 2 Apr 2018 23:26:19 +0000 (+0300) Subject: .shellrc: Remove .Xauthority on exit from X X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=442bb340cd83587f565c05cb576c9ea186131923;p=dotfiles.git .shellrc: Remove .Xauthority on exit from X --- diff --git a/.shellrc b/.shellrc index b4b4e05..0cfd207 100644 --- a/.shellrc +++ b/.shellrc @@ -408,7 +408,7 @@ fi if [ "$SHLVL" -eq 1 ] && which startx >/dev/null 2>&1; then - X() { startx >> .Xserver.log 2>&1; cyr; } + X() { startx >> .Xserver.log 2>&1; cyr; rm -f .Xauthority; } fi x() { exit; }