1
0
mirror of https://github.com/bennofs/nix-script synced 2025-01-09 20:34:20 +01:00

Add test for arguments handling

This commit is contained in:
rnhmjoj 2015-09-11 05:12:40 +02:00
parent f65181ae34
commit d8852783ea

7
example.sh Executable file
View File

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