[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash builtin expansion in shell.el
From: |
Xah Lee |
Subject: |
Re: bash builtin expansion in shell.el |
Date: |
Mon, 15 Jun 2009 10:24:43 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Jun 13, 1:57 pm, Xah Lee <xah...@gmail.com> wrote:
> On Jun 13, 12:07 pm, jida...@jidanni.org wrote:
>
> > There are plenty of
> > bash$ help|wc
> > 46 449 3701
> > builtin bash commands that the *shell* buffer is unaware of, as it only
> > knows about $PATH.
>
> > So how can I get
> > bash$ hist<TAB>
> > to become
> > bash$ history ?
>
> i don't think the example you have is traditional unix. Perhaps you
> forgot the dollar sign? Also, in my env, there's no “history” as env
> var by default (never heard of that), but there's “$HIST”.
>
> env var expansion works in emacs's shell command in both OS X and
> Windows Vista. However, when you run shell in emacs, not necessarly
> all your env var in terminal are inherited. The situation is a bit
> complex depending on what OS you running.
Oops i glossed over your previous message. Just for posterity, never
mind my previous reply. :)
Xah