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
I thought it would require a code change to get bat to look for shebangs in files without extensions before using the filename to determine the syntax.
Bat does not highlight a shell script with the file name
build
that contains a shebang line of#!/bin/bash
.Bat does highlight other shell scripts that lack a
.sh
extension, likerun
,setup
, etc.I suspect bat considers a file named
build
to be an NAnt build file.Would it be possible to change the precedence so that bat will interpret my
build
script as a shell script?The text was updated successfully, but these errors were encountered: