GNU bug report logs -
#38057
(shell-command "alias" "bash-aliases" "bash-errors") - Shell command succeeded with no output
Previous Next
Reported by: arthur miller <arthur.miller <at> live.com>
Date: Mon, 4 Nov 2019 11:53:01 UTC
Severity: normal
Tags: notabug
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
arthur miller <arthur.miller <at> 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
This bug report was last modified 5 years and 280 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.