Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16114
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: First lines of examples/startup-files/bashrc |
| Date | 2020-04-09 09:48 -0400 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.408.1586440127.2644.bug-bash@gnu.org> (permalink) |
| References | <20200408234241.84fa2643163cc7ec3aedc6ef@schrader-schulte.de> <CAOSMAuvsyHZ18kM6RaDfoCVynprvTkEbgtHsi9EX1JXcxs9rPg@mail.gmail.com> <5a9bfbee-e20b-1e98-bc36-d04372c5bb5a@case.edu> |
On 4/8/20 7:46 PM, Eduardo Bustamante wrote: > On Wed, Apr 8, 2020 at 2:42 PM Martin Schulte <gnu@schrader-schulte.de> wrote: > (...) >> But, as far as I understand, a non-interactive bash doesn't read >> ~/.bashrc at all - so shouldn't we just omit them? > > There are exceptions. One of them being SSH, see: > https://git.savannah.gnu.org/cgit/bash.git/tree/shell.c?h=ea31c00845c858098d232bd014bf27b5a63a668b#n1095 My guess is that Debian has compiled bash with SSH_SOURCE_BASHRC defined. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: First lines of examples/startup-files/bashrc Chet Ramey <chet.ramey@case.edu> - 2020-04-09 09:48 -0400
csiph-web