Unnamed repository; edit this file 'description' to name the repository.
git clone git://
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit ab59fa1ba27b2413dea6bd915dec8b137be9ac41
parent ba0c1f996d3305af251c4ed738266c968196aa65
Author: Sotiris Papatheodorou <>
Date:   Mon, 16 Aug 2021 00:49:22 +0300

Remove unnecessary tests

The HOME environment variable is required to exist for a system to be
considered POSIX so the test is not necessary. It is also always true
due to containing a literal string.

SC2157: Argument to -n is always true due to literal strings.

Mastro | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/astro b/astro @@ -279,10 +279,10 @@ case "$args" in esac # Configuration -[ -n "$HOME/.config/astro" ] && mkdir -p "$HOME/.config/astro" +mkdir -p "$HOME/.config/astro" configfile="$HOME/.config/astro/astro.conf" -[ -n "$HOME/.cache/astro" ] && mkdir -p "$HOME/.cache/astro" +mkdir -p "$HOME/.cache/astro" cachedir="$HOME/.cache/astro" LESSKEY="$HOME/.config/astro/less.keys"