summaryrefslogtreecommitdiff
path: root/tessen
diff options
context:
space:
mode:
authorAyush Agarwal <ayush@fastmail.in>2022-01-16 18:32:27 +0530
committerAyush Agarwal <ayush@fastmail.in>2022-01-16 21:14:23 +0530
commitf3b3176987c8ee89cedb1049051cf0d4eb511d2b (patch)
treeedf68a8954f66e1af3839fca29a54d7ebe230f20 /tessen
parent2e4d8ee0906245b95e73cb3782b2c763f8fe0a77 (diff)
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 (limited to 'tessen')
-rwxr-xr-xtessen4
1 files changed, 2 insertions, 2 deletions
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}"