Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

command-cancellation with #



I'm evaluating the possibility of a move to zsh from bash for
everyday work.  First question...

I operate in vi-mode.  I frequently use this sequence to
interrupt and save a command I'm in the middle of typing: <Esc>#

This simply puts the incomplete command into my history for later
recall.  When I do this in zsh I get this error:

    $ #ls foo
    zsh: bad pattern: #ls

Is there a way to make this work in zsh the way it does in bash?

-- 
                          _ _     ___
                          |V|icah |- lliott
                          " "     """
mde@xxxxxxxxxxxxxxxx            <><             http://MicahElliott.com
PGP: 0x7C07CBF0          ICQ: 369060435      Linux/Ubuntu: 417195/12440
HackerKey: v4sw6YUPCJhw5ln5pr7OPck2ma9u8Lw3m5l6Ui2e7t3b8LDMOen6a3XsMRr5

Attachment: signature.asc
Description: Digital signature



Messages sorted by: Reverse Date, Date, Thread, Author