summaryrefslogtreecommitdiff
path: root/.zlogin
diff options
context:
space:
mode:
Diffstat (limited to '.zlogin')
-rw-r--r--.zlogin4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zlogin b/.zlogin
index 0ad68f6..e734c28 100644
--- a/.zlogin
+++ b/.zlogin
@@ -22,8 +22,8 @@ fi
cmd_exists screen && screen -list | strings | grep -v "^No Sockets found" > .tmp.screen-list
[ -s .tmp.screen-list ] \
&& preprint "screen" $color[bold] && echo \
-&& < .tmp.screen-list \
-&& rm -f .tmp.screen-list
+&& < .tmp.screen-list
+[ -e .tmp.screen-list ] && rm -f .tmp.screen-list
#preprint "calendrier" $color[bold] ; echo