From 0c60d5c619a08bd77e1e17b3afcef14d806db62a Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 24 Aug 2017 08:51:08 +1000 Subject: [PATCH] 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 --- config/zsh/logout/xdg-clear | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zsh/logout/xdg-clear b/config/zsh/logout/xdg-clear index b44205b..534de2c 100644 --- a/config/zsh/logout/xdg-clear +++ b/config/zsh/logout/xdg-clear @@ -1,2 +1,2 @@ #! 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