summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorLuke Bubar <43391582+lukerb52@users.noreply.github.com>2020-04-15 19:58:20 -0400
committerGitHub <noreply@github.com>2020-04-15 19:58:20 -0400
commitbdbf0d838268575f2d310c769636b165c81f196b (patch)
treed66ffca7fb93920dd71ab2134649e986cc2bbb3c /.local/bin
parent0242d8428d258a886bed6305dc6e37e61ab86046 (diff)
downloadeibhear-bdbf0d838268575f2d310c769636b165c81f196b.tar.gz
eibhear-bdbf0d838268575f2d310c769636b165c81f196b.tar.zst
eibhear-bdbf0d838268575f2d310c769636b165c81f196b.zip
Added GNU Octave run conditions (#575)
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/compiler1
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler
index 2fefdf5..474300f 100755
--- a/.local/bin/compiler
+++ b/.local/bin/compiler
@@ -32,6 +32,7 @@ case "$file" in
*config.h) sudo make install ;;
*\.c) cc "$file" -o "$base" && "$base" ;;
*\.py) python "$file" ;;
+ *\.m) octave "$file" ;;
*\.go) go run "$file" ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;