commit a1e73417dc6b58073aeefb443ab4ee583730cf63
parent 37788be5d97cf9c32be1abae76fddc77f4ea87f6
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sat, 18 Apr 2020 10:34:51 -0400
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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" ;;