[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:
parent
2a1a30dd9e
commit
2a19e95ae5
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
Loading…
Add table
Reference in a new issue