diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..25b7b40 --- /dev/null +++ b/.build.yml @@ -0,0 +1,9 @@ +image: alpine/edge +packages: + - shellcheck +sources: + - https://git.sr.ht/~mil/sxmo-utils +tasks: + - shellcheck: | + cd sxmo-utils + shellcheck scripts/*/* diff --git a/scripts/core/sxmo_xinit.sh b/scripts/core/sxmo_xinit.sh index 1baec47..4a595cd 100755 --- a/scripts/core/sxmo_xinit.sh +++ b/scripts/core/sxmo_xinit.sh @@ -3,6 +3,7 @@ envvars() { # shellcheck disable=SC1091 [ -f /etc/profile ] && . /etc/profile + # shellcheck source=/dev/null [ -f "$HOME"/.profile ] && . "$HOME"/.profile command -v "$TERM" || export TERM=st command -v "$BROWSER" || export BROWSER=surf