mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-31 00:17:46 +02:00
nvim: compiler cleanup
This commit is contained in:
parent
3ef134f27c
commit
2b62eb1fbf
@ -37,7 +37,7 @@ case "$file" in
|
|||||||
*\.js) node "$file" ;;
|
*\.js) node "$file" ;;
|
||||||
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
|
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
|
||||||
*\.nim) nim c -r -d:noColors "$file" ;;
|
*\.nim) nim c -r -d:noColors "$file" ;;
|
||||||
*\.py) python3 "$file" ;;
|
*\.py) python "$file" ;;
|
||||||
*\.go) go run "$file" ;;
|
*\.go) go run "$file" ;;
|
||||||
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
||||||
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user