Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16109
| From | Martin Schulte <gnu@schrader-schulte.de> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | First lines of examples/startup-files/bashrc |
| Date | 2020-04-08 23:42 +0200 |
| Message-ID | <mailman.376.1586382175.2644.bug-bash@gnu.org> (permalink) |
| References | <20200408234241.84fa2643163cc7ec3aedc6ef@schrader-schulte.de> |
Hello bash developers, my apologies in advance if I'm overlooking something trivial but I'm really wondering about the first lines in examples/startup-files/bashrc (which are copied to Debian's skeleton ~/.bashrc): case $- in *i*) ;; *) return ;; esac Well, bash terminates sourcing the file if it is invoked non-interactively. But, as far as I understand, a non-interactive bash doesn't read ~/.bashrc at all - so shouldn't we just omit them? Best regards, Martin
Back to gnu.bash.bug | Previous | Next | Find similar
First lines of examples/startup-files/bashrc Martin Schulte <gnu@schrader-schulte.de> - 2020-04-08 23:42 +0200
csiph-web