Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh and emacs shell mode
- X-seq: zsh-users 7818
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: zsh and emacs shell mode
- Date: Tue, 10 Aug 2004 17:42:29 -0700 (PDT)
- In-reply-to: <31836.24.153.150.77.1092153128.squirrel@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <s388ycqygum.fsf@xxxxxxxxxxxxxxxxxx> <31836.24.153.150.77.1092153128.squirrel@xxxxxxxxxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
On Tue, 10 Aug 2004 jeremy@xxxxxxxxxxx wrote:
> I'm writing to solicit tips in order to get Emacs' shell mode working as
> best possible with Zsh.
You're sure you're using shell mode and not terminal mode?
> Right now, my .zshrc includes:
> [[ $EMACS = t ]] && unsetopt zle
>
> I'm a zsh newbie, so I'm not positive what all this disables.
This disables zsh's built-in editor, akin to disabling readline in bash.
Emacs does all the driving in shell mode -- the shell never sees any of
what you type until you press the comint-send-input key (usually RET).
> In Emacs shell mode, paths no longer complete when I press TAB like they
> did when I used Bash. Is there a way for this to work?
This will have something to do with your emacs configuration, not zsh.
Offhand I don't know what. Type C-x C-h c TAB to be sure that your tab
key is still bound to comint-dynamic-complete, and make sure that emacs
knows what the shell's current directory is (M-x dirs RET).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author