You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ccuming@ccuming dotfiles]$ shellcheck .bash*
In .bash_profile line 4:
.~/.bashrc
^-------^ SC1090: Can't follow non-constant source. Use a directive to specify location.In .bashrc line 10: [[ ! $TERM =~ screen ]] && [ -z $TMUX ] && [[ $- == *i* ]] && exec tmux ^---^ SC2086: Double quote to prevent globbing and word splitting.Did you mean: [[ ! $TERM =~ screen ]] && [ -z "$TMUX" ] && [[ $- == *i* ]] && exec tmuxIn .bashrc line 20: source "$(brew --prefix)/etc/bash_completion" ^-- SC1090: Can't follow non-constant source. Use a directive to specify location.
In .bashrc line 35:
[ -s"$NVM_DIR/nvm.sh" ] &&\."$NVM_DIR/nvm.sh"
^---------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.In .bashrc line 36:[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" ^------------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.
In .bashrc line 39:
source"$HOME/.gvm/scripts/gvm"
^----------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.In .bashrc line 43: . ~/.misc_envars ^------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.
For more information:
https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source.... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
[ccuming@ccuming dotfiles]$ shellcheck bootstrap.sh
In bootstrap.sh line 3:
source ./bash/mac_os.sh
^--------------^ SC1091: Not following: ./bash/mac_os.sh was not specified as input (see shellcheck -x).
In bootstrap.sh line 4:
source ./bash/linux.sh
^-------------^ SC1091: Not following: ./bash/linux.sh was not specified as input (see shellcheck -x).
In bootstrap.sh line 21:
git config --global core.editor "$(which nvim)"
^---^ SC2230: which is non-standard. Use builtin'command -v' instead.
In bootstrap.sh line 27:
rm -rf $HOME/$link
^---------^ SC2115: Use "${var:?}" to ensure this never expands to / .
^---^ SC2086: Double quote to prevent globbing and word splitting.
^---^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
rm -rf "$HOME"/"$link"
In bootstrap.sh line 28:
ln -s $PWD/$link$HOME/$link
^--^ SC2086: Double quote to prevent globbing and word splitting.
^---^ SC2086: Double quote to prevent globbing and word splitting.
^---^ SC2086: Double quote to prevent globbing and word splitting.
^---^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
ln -s "$PWD"/"$link""$HOME"/"$link"
In bootstrap.sh line 42:
mkdir -p $HOME/.config/nvim
^---^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
mkdir -p "$HOME"/.config/nvim
In bootstrap.sh line 44:
ln -s $PWD/init.vim $HOME/.config/nvim/init.vim
^--^ SC2086: Double quote to prevent globbing and word splitting.
^---^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
ln -s "$PWD"/init.vim "$HOME"/.config/nvim/init.vim
For more information:
https://www.shellcheck.net/wiki/SC2115 -- Use "${var:?}" to ensure this nev...
https://www.shellcheck.net/wiki/SC1091 -- Not following: ./bash/linux.sh wa...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
[ccuming@ccuming dotfiles]$ shellcheck bash/*
In bash/mac_os.sh line 21:
if brew list | grep $package> /dev/null 2>&1;then
^------^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
if brew list | grep "$package"> /dev/null 2>&1;then
In bash/mac_os.sh line 24:
brew install $package
^------^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
brew install "$package"
In bash/mac_os.sh line 34:
brew cask reinstall $cask --force 1>/dev/null
^---^ SC2086: Double quote to prevent globbing and word splitting.
Did you mean:
brew cask reinstall "$cask" --force 1>/dev/null
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: