ref(sh): check exit code rather than stdout

This commit is contained in:
AJ ONeal
2023-10-30 06:03:41 +00:00
parent 9f391b30be
commit afd490e47f
6 changed files with 29 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ __init_vim_beyondcode() {
nerdfont \
vim-devicons
if [ -n "$(command -v go)" ]; then
if command -v go > /dev/null; then
"$HOME/.local/bin/webi" vim-go
fi
# done