Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
HOW TO distiguish between command input and forked subshell ?
- X-seq: zsh-workers 2108
- From: "C. v. Stuckrad" <stucki@xxxxxxxxxxxxxxxxx>
- To: Zsh workers list <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: HOW TO distiguish between command input and forked subshell ?
- Date: Fri, 6 Sep 1996 00:47:33 +0200 (MET DST)
- Priority: normal
- Reply-to: "C. v. Stuckrad" <stucki@xxxxxxxxxxxxxxxxx>
Hi! (again :-)
I have another very spcific question...
I would like to have a zsh-function behave different if called
inside $(...) or backticks !
Exactly, I want to have the function 'chpwd' give some output
if triggered by 'cd' or 'chdir' BUT TO GIVE NO OUTPUT
if triggered by cases like '... $(cd somewhere; ls)...'
Might that be possible ?
Clueless (again), Stucki
Christoph von Stuckrad * * | talk to | <stucki@xxxxxxxxxxxxxxxxx> \
Freie Universitaet Berlin |/_* | nickname | ...!unido!fub!leibniz!stucki|
Fachbereich Mathematik, EDV |\ * | 'stucki' | Tel:+49 30 838-7545{9|8} |
Arnimallee 2-6/14195 Berlin * * | on IRC | Fax:+49 30 838-5913 /
Messages sorted by:
Reverse Date,
Date,
Thread,
Author