mirror of https://github.com/bennofs/nix-script
Add test for arguments handling
This commit is contained in:
parent
f65181ae34
commit
d8852783ea
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env nix-script
|
||||||
|
#!>zsh
|
||||||
|
#! nix | zsh
|
||||||
|
|
||||||
|
function a { echo "this is zsh!" }
|
||||||
|
a
|
||||||
|
echo "your args: $@"
|
Loading…
Reference in New Issue