zsh-workers
 help / color / mirror / code / Atom feed
* HOW TO distiguish between command input and forked subshell ?
@ 1996-09-05 22:47 C. v. Stuckrad
  1996-09-05 23:23 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: C. v. Stuckrad @ 1996-09-05 22:47 UTC (permalink / raw)
  To: Zsh workers list


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@math.fu-berlin.de> \
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        /


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

end of thread, other threads:[~1996-09-06 10:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-05 22:47 HOW TO distiguish between command input and forked subshell ? C. v. Stuckrad
1996-09-05 23:23 ` Bart Schaefer
1996-09-06  9:08   ` Andrej Borsenkow
1996-09-06 10:47     ` Zoltan Hidvegi

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).