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:
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