nix-script/example.sh

8 lines
112 B
Bash
Executable File

#!/usr/bin/env nix-script
#!>zsh
#! nix | zsh
function a { echo "this is zsh!" }
a
echo $#
echo "your args: $@"