mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
ref(sh): check exit code rather than stdout
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user