From 529b856edfd1aa265616f0289473f47005c6ec5ba5f7a68a10fcca8b1b0ae8ba Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 18 Feb 2024 21:43:55 +0300 Subject: [PATCH] Trivial style fixes --- lib.zsh.rc | 3 +-- show | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib.zsh.rc b/lib.zsh.rc index 159dbb2..d4ef1e2 100644 --- a/lib.zsh.rc +++ b/lib.zsh.rc @@ -1,5 +1,4 @@ -set -e -setopt EXTENDED_GLOB GLOB_STAR_SHORT +setopt ERR_EXIT EXTENDED_GLOB GLOB_STAR_SHORT PERL=${PERL:-perl} EDITOR=${EDITOR:-vi} diff --git a/show b/show index 0792bc8..7f9d258 100755 --- a/show +++ b/show @@ -14,7 +14,7 @@ deps=(issues/$issue/deps/*(N)) } delim cat issues/$issue/about -[[ -s issues/$issue/result ]] && { +[[ ! -s issues/$issue/result ]] || { delim cat issues/$issue/result } -- 2.44.0