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 committed by Wenxuan
parent 455e42ba64
commit d477ffaee4

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