riju/langs/fish.yaml

25 lines
293 B
YAML

id: "fish"
name: "Fish"
install:
apt:
- fish
repl: |
SHELL=/usr/bin/fish fish
input: |
expr 123 \* 234
main: "main.fish"
template: |
echo "Hello, world!"
run: |
SHELL=/usr/bin/fish fish -C "$(< main.fish)"
scope:
code: |
set x (expr 123 \* 234)
input: |
echo $x