function varDefault if test -n $argv[1] echo $argv[1] else echo $argv[2] end end