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:
parent
066514febf
commit
0c60d5c619
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue