From: hari@sybase.com (Hariharan Dhandapani)
To: zsh-workers@math.gatech.edu
Subject: chpwd bug?
Date: Fri, 1 Sep 95 14:14:37 PDT [thread overview]
Message-ID: <9509012114.AA05410@tahoe.sybgate.sybase.com> (raw)
Hi everyone,
This is my chpwd function:
chpwd() {
case ${PWD} in
/calm/*) echo "\x1a//${NODENAME}:/ccview/norton_hari_vu${PWD}";;
*) echo "\x1a//${NODENAME}:${PWD}";;
esac
}
The objective is to keep eterm(in emacs) synchronized with the
shell(zsh), if the "/calm/*" statement looks like this:
/calm/*) echo "\x1a//${NODENAME}:/ccview/norton_hari_vu/${PWD}";;
it does not work, nothing gets echoed at all, it is as if this line
does not exist at all, note the only differnce in the 2 lines is the
addition of 1 slash(/) before ${PWD}, when ${PWD} is expanded, there
are actually 2 slashes(like in /ccview/norton_hari_vu//calm/repl), i
wonder whether the problem is related to my autoremoveslash setting,
right now i have it working using the 1st line, but i still think it
is a bug in zsh, anyone have any idea what is going on?
Thanks,
hari
next reply other threads:[~1995-09-01 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-09-01 21:14 Hariharan Dhandapani [this message]
1995-09-04 13:33 ` P.Stephenson
1995-09-05 18:50 Hariharan Dhandapani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9509012114.AA05410@tahoe.sybgate.sybase.com \
--to=hari@sybase.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).