Silence errors from logout/xdg-clear - on a system that manages XDG_RUNTIME_DIR for you, you probably won't be allowed to delete it on logout, which is harmless because the system manages it for you

This commit is contained in:
Danielle McLean 2017-08-24 08:51:08 +10:00
parent 066514febf
commit 0c60d5c619
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -1,2 +1,2 @@
#! zsh #! zsh
(( $SHLVL == 1 && $(w -h $LOGNAME | wc -l) == 1 )) && rm -rf $XDG_RUNTIME_DIR (( $SHLVL == 1 && $(w -h $LOGNAME | wc -l) == 1 )) && rm -rf $XDG_RUNTIME_DIR 2>/dev/null