* Eshell: Alias in Dollars Expansion?
@ 2017-12-08 2:59 Christopher Howard
0 siblings, 0 replies; only message in thread
From: Christopher Howard @ 2017-12-08 2:59 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
Hi, in eshell I can do this:
~/Repos/guile-td $ alias git-brief git rev-parse --short HEAD
~/Repos/guile-td $ git-brief
d1007b7
But the alias doesn't seem to work in a dollars expansion:
~/Repos/guile-td $ echo ${git-brief}
No catch for tag: eshell-replace-command, (let ((eshell-command-name
(quote "git-brief")) (eshell-command-arguments (quote nil)) (eshell-
prevent-alias-expansion (quote ("git-brief")))) (eshell-trap-errors
(eshell-named-command "git" (list "rev-parse" "--short" "HEAD"))))
Why not?
--
http://www.foi.org
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-08 2:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-08 2:59 Eshell: Alias in Dollars Expansion? Christopher Howard
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.