all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: bash builtin expansion in shell.el
Date: Sat, 13 Jun 2009 13:57:51 -0700 (PDT)	[thread overview]
Message-ID: <9c42f4ac-5c56-409e-91d3-99d5025bba74@w35g2000prg.googlegroups.com> (raw)
In-Reply-To: mailman.580.1244920049.2239.help-gnu-emacs@gnu.org

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	other threads:[~2009-06-13 20:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.580.1244920049.2239.help-gnu-emacs@gnu.org>
2009-06-13 20:57 ` Xah Lee [this message]
2009-06-15 17:24   ` bash builtin expansion in shell.el Xah Lee
2009-06-13 19:07 jidanni
2009-06-13 20:15 ` Peter Dyballa
2009-06-13 21:33   ` jidanni
     [not found]   ` <mailman.593.1244928793.2239.help-gnu-emacs@gnu.org>
2009-06-15 17:39     ` Xah Lee
2009-06-19 22:12       ` jidanni

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=9c42f4ac-5c56-409e-91d3-99d5025bba74@w35g2000prg.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.