Have you tried fish? I really like it, both to script and to use interactively.<p>Some examples:<p><a href="http:&#x2F;&#x2F;fishshell.com&#x2F;docs&#x2F;current&#x2F;tutorial.html#tut_loops" rel="nofollow">http:&#x2F;&#x2F;fishshell.com&#x2F;docs&#x2F;current&#x2F;tutorial.html#tut_loops</a><p><a href="http:&#x2F;&#x2F;fishshell.com&#x2F;docs&#x2F;current&#x2F;tutorial.html#tut_command_substitutions" rel="nofollow">http:&#x2F;&#x2F;fishshell.com&#x2F;docs&#x2F;current&#x2F;tutorial.html#tut_command_...</a>