Disable shellcheck warning for readonly var

This commit is contained in:
BarbUk 2021-06-18 14:03:12 +04:00
parent 61507d8f3d
commit aa454f8ca2
No known key found for this signature in database
GPG Key ID: DB301C759539E9FE

4
snippy
View File

@ -59,8 +59,8 @@ readonly placeholder_cursor="{cursor}"
readonly placeholder_clipboard="{clipboard}" readonly placeholder_clipboard="{clipboard}"
readonly placeholder_clipboard_urlencode="{clipboard_urlencode}" readonly placeholder_clipboard_urlencode="{clipboard_urlencode}"
readonly tmpfile # shellcheck disable=2155
tmpfile=$(mktemp) readonly tmpfile=$(mktemp)
trap 'rm -f $tmpfile' EXIT HUP INT TRAP TERM trap 'rm -f $tmpfile' EXIT HUP INT TRAP TERM
# colors # colors