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" ;;