Closed uce closed 4 years ago
https://github.com/arbelt/fish-plugin-scmpuff/blob/64b323fb5fd8b176e2df181064e699d688be9b37/conf.d/scmpuff.fish#L16
The linked line should have $SCMPUFF_GIT_CMD in quotes in order to avoid a warning:
$SCMPUFF_GIT_CMD
type -q "$SCMPUFF_GIT_CMD"; or set -x SCMPUFF_GIT_CMD (which git)
Otherwise, I get the following warning if the variable is not set:
type: Expected at least 1 args, got only 0
https://github.com/arbelt/fish-plugin-scmpuff/blob/64b323fb5fd8b176e2df181064e699d688be9b37/conf.d/scmpuff.fish#L16
The linked line should have
$SCMPUFF_GIT_CMD
in quotes in order to avoid a warning:Otherwise, I get the following warning if the variable is not set: