From f3b3176987c8ee89cedb1049051cf0d4eb511d2b Mon Sep 17 00:00:00 2001 From: Ayush Agarwal Date: Sun, 16 Jan 2022 18:32:27 +0530 Subject: 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. --- tessen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tessen') diff --git a/tessen b/tessen index 8f38f2e..f11d449 100755 --- 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}" -- cgit v1.2.3