tessen

default description
git clone https://git.awy.one/tessen.git
Log | Files | Refs | README | LICENSE

commit f3b3176987c8ee89cedb1049051cf0d4eb511d2b
parent 2e4d8ee0906245b95e73cb3782b2c763f8fe0a77
Author: Ayush Agarwal <ayush@fastmail.in>
Date:   Sun, 16 Jan 2022 18:32:27 +0530

refactor: remove redundant colons

In the absence of a colon, the default value (which is empty) will be
used only if TESSEN_BACKEND is unset. Adding a colon ensures that the
default value is also used if TESSEN_BACKEND is empty. Since the default
value is empty, the colon is redundant.

Diffstat:
Mtessen | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tessen b/tessen @@ -18,9 +18,9 @@ readonly tsn_cliptime="${PASSWORD_STORE_CLIP_TIME:-15}" readonly tsn_delay="${TESSEN_DELAY:-200}" readonly tsn_known_backends=(bemenu rofi wofi) # variables which hold data for possible actions and choices -tsn_backend="${TESSEN_BACKEND:-}" +tsn_backend="${TESSEN_BACKEND-}" tsn_backend_opts=() -tsn_action="${TESSEN_ACTION:-}" +tsn_action="${TESSEN_ACTION-}" tsn_userkey="${TESSEN_USERKEY:-user}" tsn_urlkey="${TESSEN_URLKEY:-url}" tsn_autokey="${TESSEN_AUTOKEY:-autotype}"