GNU bug report logs - #17991
shell-mode: fails to recognize .bashrc files as shell scripts

Previous Next

Package: emacs;

Reported by: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>

Date: Thu, 10 Jul 2014 18:15:02 UTC

Severity: wishlist

Tags: moreinfo, wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Andrew Pennebaker <andrew.pennebaker <at> gmail.com>
Cc: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>, 17991 <at> debbugs.gnu.org
Subject: bug#17991: shell-mode: fails to recognize .bashrc files as shell scripts
Date: Fri, 11 Jul 2014 14:52:39 +0200
Andrew Pennebaker <andrew.pennebaker <at> gmail.com> writes:

> My current workaround is to manually add (.\bashrc|\.profile).* to
> auto-mode-alist. I just wish this were the default pattern.

I don't consider this a workaround, but rather the correct way to handle
such personal preferences.

> ... is there another convention for naming multiple bash configs, per
> machine, that matches the existing patterns? I guess I could use ".
> bashrc.android.sh", ugly but functional.

Since the shell is a full programming language, there are no limits in
what people will do with the startup scripts.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 9 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.