mirror of
https://github.com/bennofs/nix-script
synced 2025-01-10 04:44:21 +01:00
Add test for arguments handling
This commit is contained in:
parent
f65181ae34
commit
d8852783ea
7
example.sh
Executable file
7
example.sh
Executable file
@ -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
Block a user