TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Startup Sequences of Shells

32 点作者 onosendai将近 8 年前

4 条评论

eddyg将近 8 年前
<a href="http:&#x2F;&#x2F;blog.flowblok.id.au&#x2F;static&#x2F;images&#x2F;shell-startup-actual.png" rel="nofollow">http:&#x2F;&#x2F;blog.flowblok.id.au&#x2F;static&#x2F;images&#x2F;shell-startup-actua...</a><p>&quot;To read it, pick your shell, whether it&#x27;s a login shell, whether it&#x27;s interactive, and follow the same colour through the diagram. When the arrows split out to multiple files, it means that the shell will try to read each one in turn (working left to right), and will use the first one it can read.&quot;<p>Note that what the man pages <i>say</i> happens (as of 2013) is in this diagram:<p><a href="http:&#x2F;&#x2F;blog.flowblok.id.au&#x2F;static&#x2F;images&#x2F;shell-startup.png" rel="nofollow">http:&#x2F;&#x2F;blog.flowblok.id.au&#x2F;static&#x2F;images&#x2F;shell-startup.png</a>
jsjohnst将近 8 年前
I thought maybe this just had a bad UI layout on mobile, but after reviewing on desktop browser, I now know that this useful info was just presented rather poorly.
评论 #14974439 未加载
skywhopper将近 8 年前
Bash is broken in this regard, having no way to reliably enforce a consistent baseline across the four possible startup modes except by having all the possible startup files explicitly call some shared source. Glad to see zsh has addressed this.
评论 #14974416 未加载
sgs1370将近 8 年前
thanks for this - very useful