help-gnu-emacs
[Top][All Lists]
Advanced

[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: Sat, 13 Jun 2009 13:57:51 -0700 (PDT)
User-agent: G2/1.0

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.

  Xah
∑ http://xahlee.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]