[bash] disable shellcheck warning on VIMINIT

shellcheck(1) is warning that the single quotes prevent the expression
from being expanded. However, this is the desired behavior because this
expression is meant to be interpreted by vim(1), not bash(1).
This commit is contained in:
Fernando Schauenburg 2020-12-03 18:33:58 +01:00
parent 2a1a30dd9e
commit 2a19e95ae5

View file

@ -26,6 +26,7 @@ MANPATH="$(unset MANPATH; manpath)"
export MANPATH export MANPATH
export PAGER=less export PAGER=less
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup.py" export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/startup.py"
# shellcheck disable=SC2016 # This expression is to be interpreted by vim, not bash.
export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC' export VIMINIT='let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" | source $MYVIMRC'
############################################################################## ##############################################################################