diff options
author | Ayush Agarwal <ayush@fastmail.in> | 2022-01-16 18:32:27 +0530 |
---|---|---|
committer | Ayush Agarwal <ayush@fastmail.in> | 2022-01-16 21:14:23 +0530 |
commit | f3b3176987c8ee89cedb1049051cf0d4eb511d2b (patch) | |
tree | edf68a8954f66e1af3839fca29a54d7ebe230f20 /tessen | |
parent | 2e4d8ee0906245b95e73cb3782b2c763f8fe0a77 (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-x | tessen | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}" |