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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38057: Sv: bug#38057: (shell-command "alias" "bash-aliases" "bash-er


From: Stefan Kangas
Subject: bug#38057: Sv: bug#38057: (shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output
Date: Fri, 08 Nov 2019 13:26:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

arthur miller <arthur.miller@live.com> writes:

> THanks for answers. I have looked at SX-article, and I do understand
> that bashr is not sourced in non-interactive shells since before,
> however, I do have my Shell command set to use ”-ic” flags. It also
> used to work earlier; when I wrote that function and posted on wiki,
> with same Shell flags.

Are you saying that you set the variable shell-command-switch to
"-ic"?

When I try setting that, `M-x shell-command RET alias RET' gives me
my full list of aliases.

I'm not sure why you're seeing this, but it sounds like there may be
some other variable at play here.  Are you seeing the same behaviour
when running under emacs -Q?

> I don’t know how or why it worked earlier if it shouldn’t work
> though 😊. Even more confusing, it works fine on MS Windows (msys2
> distro of *nix Tools),
>
> Without even using ”-ic” flag. I use same bashrc as I do under my
> GNU/Linux, but I attribute that to (probable) msys2 quirks.

Yes, that sounds strange.

Best regards,
Stefan Kangas





reply via email to

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