unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: arthur miller <arthur.miller@live.com>
Cc: 38057@debbugs.gnu.org
Subject: bug#38057: (shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output
Date: Mon, 04 Nov 2019 18:17:58 +0200	[thread overview]
Message-ID: <83zhhbhayx.fsf@gnu.org> (raw)
In-Reply-To: <HE1P194MB01066CD99E0F03E50A889759967F0@HE1P194MB0106.EURP194.PROD.OUTLOOK.COM> (message from arthur miller on Mon, 4 Nov 2019 11:52:38 +0000)

> From: arthur miller <arthur.miller@live.com>
> Date: Mon, 4 Nov 2019 11:52:38 +0000
> 
> When I run 'alias' (a bash command) from within elisp I don't get list of aliases. It used to work fine, but in my
> latest build from git as of 2019-11-04 (4th november) it does not. Maybe it stopped to work earlier, I don't
> know, I was reworking my init file, so I didn't had it in for like a month or so, anyway, when I test it today I don't
> get the 'alias' command to work at all. It works from ansi-term, but not interactively or from an elisp script.
> 
> I get message that shell command succeeds without any output. The line (shell-command "alias"
> "bash-aliases" "bash-errors") is part of a little script I posted on Emacs Wiki earlier this year
> https://www.emacswiki.org/emacs/EshellAlias.
> 
> Is it a bug or do I something wrong? I am sorry, I am not an expert on Emacs, so I am a bit unsure.

Does the following discussion help to understand the issue?

  https://stackoverflow.com/questions/1615877/why-aliases-in-a-non-interactive-bash-shell-do-not-work





  reply	other threads:[~2019-11-04 16:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04 11:52 bug#38057: (shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output arthur miller
2019-11-04 16:17 ` Eli Zaretskii [this message]
2019-11-07  3:37   ` Stefan Kangas
2019-11-08  8:55     ` bug#38057: Sv: " arthur miller
2019-11-08 12:26       ` Stefan Kangas
2019-11-08 13:19         ` bug#38057: Sv: " arthur miller

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zhhbhayx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=38057@debbugs.gnu.org \
    --cc=arthur.miller@live.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).