nix-script/example.sh

7 lines
104 B
Bash
Executable File

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