9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Tim Newsham <newsham@lava.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] 9term customization
Date: Thu,  9 Dec 2004 11:52:31 -1000	[thread overview]
Message-ID: <Pine.BSI.4.58.0412091150270.11573@malasada.lava.net> (raw)
In-Reply-To: <20041209182451.GB6041@epaphras>

> > Seccond, i fell nude without my current path :)
> > I have no clue how to change prompt enviroment var to show it.
>
> I think you want something like this:
>
> fn cd { builtin cd $1; prompt=(`{pwd}^'% ' '	') }

I'm not sure why this isnt setup by default (actually, it seems
to be in plan9port stuff) but acme is much more useful with:

  fn cd { builtin cd $1 && awd $sysname }

(as mentioned in the acme man page).  This provides the benefits
of seeing the path (in the acme title bar) as well as providing
path context for the clicks.

I'm sure this is old hat for most people, but I just came across
this recently and I imagine that means there are other people who
are using acme without it (ack!).

> Micah

Tim N.


  reply	other threads:[~2004-12-09 21:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08 23:13 Gabriel Cosentino de Barros
2004-12-09 18:24 ` Micah Stetson
2004-12-09 21:52   ` Tim Newsham [this message]
2004-12-09 18:46     ` Gabriel Cosentino de Barros
     [not found]       ` <2814F26DA6908F41927A81C410C4991A02079BE6@siamun.server.bl. corp.intranet>
2004-12-09 21:13         ` Andrew Simmons
2004-12-10  0:46       ` Micah Stetson
2004-12-09 21:21 Gabriel Cosentino de Barros
     [not found] ` <2814F26DA6908F41927A81C410C4991A02079BE7@siamun.server.bl. corp.intranet>
2004-12-09 23:48   ` Andrew Simmons
2004-12-10 15:51 Richard C Bilson

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=Pine.BSI.4.58.0412091150270.11573@malasada.lava.net \
    --to=newsham@lava.net \
    --cc=9fans@cse.psu.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.
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).