zsh-users
 help / color / mirror / code / Atom feed
* zsh completion for mpc
@ 2004-08-07 17:53 Björn Lindström
  2004-08-10 15:52 ` zsh and emacs shell mode jeremy
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Lindström @ 2004-08-07 17:53 UTC (permalink / raw)
  To: zsh-users

Has anyone already done the work on zsh completion for mpc
(http://www.musicpd.org/?page=mpc)?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* zsh and emacs shell mode
  2004-08-07 17:53 zsh completion for mpc Björn Lindström
@ 2004-08-10 15:52 ` jeremy
  2004-08-11  0:42   ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: jeremy @ 2004-08-10 15:52 UTC (permalink / raw)
  To: zsh-users

I'm writing to solicit tips in order to get Emacs' shell mode working as
best possible with Zsh.  Right now, my .zshrc includes:
[[ $EMACS = t ]] && unsetopt zle

I'm a zsh newbie, so I'm not positive what all this disables.  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?
Any suggestions regarding emacs shell mode are appreciated.  Thanks.

Jeremy



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: zsh and emacs shell mode
  2004-08-10 15:52 ` zsh and emacs shell mode jeremy
@ 2004-08-11  0:42   ` Bart Schaefer
  0 siblings, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 2004-08-11  0:42 UTC (permalink / raw)
  To: zsh-users

On Tue, 10 Aug 2004 jeremy@jeremye.net 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).


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-11  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-07 17:53 zsh completion for mpc Björn Lindström
2004-08-10 15:52 ` zsh and emacs shell mode jeremy
2004-08-11  0:42   ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).