Skip to content

Instantly share code, notes, and snippets.

@richiethomas
Last active September 18, 2023 15:07
Show Gist options
  • Select an option

  • Save richiethomas/abec74e848d78d63be9df9c835efd6b4 to your computer and use it in GitHub Desktop.

Select an option

Save richiethomas/abec74e848d78d63be9df9c835efd6b4 to your computer and use it in GitHub Desktop.
#!/usr/bin/env fish
function foo
echo "argv: $argv"
echo "argv[0]: $argv[0]"
echo "argv[1]: $argv[1]"
echo "argv[2]: $argv[2]"
echo "argv[3]: $argv[3]"
end
foo bar baz buzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment