On Fri, Feb 27, 2009 at 02:52:35PM +0000, brian m. carlson wrote:
> zsh doesn't like getting # at the command line:
>
>   lakeview ok % # do nothing
>   zsh: command not found: #
>
> Note that every other shell on my system (except csh, which I didn't
> test) handles this fine:
>
>   lakeview ok % /bin/bash                       bash-3.2$ # do nothing
>   bash-3.2$ exit
>   lakeview ok % /bin/dash
>   $ # do nothing
>   $   lakeview ok % /bin/ksh93
>   $ # do nothing
>   $   lakeview ok % /bin/pdksh      $ # do nothing
>   $ ^D
>   lakeview ok % /bin/mksh
>   $ # do nothing
>   $ ^D
>   lakeview ok % /bin/posh
>   $ # do nothing
>   $ 
>
> Note that fixing this will also (hopefully) fix the following bizarre
> behavior:
>
>   lakeview no % echo $SHELL # do nothing
>   /bin/zsh # do nothing
>
> I was expecting simply "/bin/zsh".

man zshoptions | less -p INTERACTIVE_COMMENTS

Note that that is on by default if you invoke zsh as /bin/sh.

Please close this bug unless you feel that the documentation
is inadequate.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to