Refactor: do not disable shellcheck 2230

It is optional with ubuntu 24.04 and disabled by default.
This commit is contained in:
sandroid 2024-03-28 21:39:54 +01:00
parent 3f694f6e99
commit 51ee602f8f
No known key found for this signature in database
GPG key ID: 91418C9982B8B76E

View file

@ -28,10 +28,6 @@ if [[ "$higher_fzf_version" != "$installed_fzf_version" ]]; then
fi
# Set shell for fzf preview commands
# Disable shellcheck for "which", because it suggests "command -v xxx" instead,
# which is not a working replacement.
# See https://github.com/koalaman/shellcheck/issues/1162
# shellcheck disable=2230
SHELL="$(which bash)"
export SHELL