From 2b62eb1fbfa5ef2b60e8a7e4e554e9f2013e795f Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 29 Apr 2022 15:32:19 +0200 Subject: [PATCH] nvim: compiler cleanup --- .local/bin/tools/nvim/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/tools/nvim/compiler b/.local/bin/tools/nvim/compiler index 0c6d404..eb03039 100755 --- a/.local/bin/tools/nvim/compiler +++ b/.local/bin/tools/nvim/compiler @@ -37,7 +37,7 @@ case "$file" in *\.js) node "$file" ;; *\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;; *\.nim) nim c -r -d:noColors "$file" ;; - *\.py) python3 "$file" ;; + *\.py) python "$file" ;; *\.go) go run "$file" ;; *\.sent) setsid sent "$file" 2>/dev/null & ;; *) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;