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