<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="https://tanguy.ortolo.eu/blog/feed/rss/commentaires/" />
	<link>https://tanguy.ortolo.eu/blog/article25/shrc</link>
	<language>en</language>
	<description>a blog about Debian and self-hosting</description>
	<lastBuildDate>Thu, 19 Apr 2012 14:52:00 +0000</lastBuildDate>
	<generator>PluXml</generator>
	<item>
		<title>Startup scripts of Bash and Zsh - Written by Elmar Heeb @ thursday 19 april 2012, 14:52</title> 
		<link>https://tanguy.ortolo.eu/blog/article25/shrc/#c1334847159-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article25/shrc/#c1334847159-1</guid>
		<description>I just tested the non-interactive login shell combinationfor bash using the she-bang line &amp;quot;#!/bin/bash -l&amp;quot; and it turns out to be crazier still.  /etc/profile is sourced while $HOME/.profile is not.

To reproduce this just put some echo commands in /etc/profile and $HOME/.profile respectively identifying each case.

I consider this a minor bug in bash.  Non-interactive shells should not source any config files as they would render shell scripts dependent on settings meant for a specific environment.  Without that bug the rule for bash is simple: profile is for login shells, bashrc for non-login shells and scripts get nothing.</description>
		<pubDate>Thu, 19 Apr 2012 14:52:00 +0000</pubDate>
		<dc:creator>Elmar Heeb</dc:creator>
	</item>
	<item>
		<title>Startup scripts of Bash and Zsh - Written by Alex @ wednesday 07 september 2011, 15:16</title> 
		<link>https://tanguy.ortolo.eu/blog/article25/shrc/#c1315408560-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article25/shrc/#c1315408560-1</guid>
		<description>Actually /etc/bash.bash_logout is the system-wide version of bash_logout ;-) But I totally agree with your name convention complain</description>
		<pubDate>Wed, 07 Sep 2011 15:16:00 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
	</item>
	<item>
		<title>Startup scripts of Bash and Zsh - Written by Tanguy @ monday 05 september 2011, 12:09</title> 
		<link>https://tanguy.ortolo.eu/blog/article25/shrc/#c1315224557-1</link>
		<guid>https://tanguy.ortolo.eu/blog/article25/shrc/#c1315224557-1</guid>
		<description>You may wonder what is a non-interactive login shell. Answer: a shell started to run a single script, with the option --login.

Yes, this is crazy, but it is possible, so with the point of view of the shell author: there will be crazy users to do that, so it must be covered.</description>
		<pubDate>Mon, 05 Sep 2011 12:09:00 +0000</pubDate>
		<dc:creator>Tanguy</dc:creator>
	</item>
		<title>Tanguy Ortolo - Startup scripts of Bash and Zsh - Comments</title> 
</channel>
</rss>