Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Rather than posting the same answer on multiple questions it is preferred if you can tailor your answer to the specific needs of the asker. If the answer is exactly the same for both questions then you should be posting a single answer and voting to close the other questions as duplicates of the original.
    – Mokubai
    Commented Jul 13, 2016 at 18:13
  • 1
    @Mokubai The other question has already been marked as a duplicate of this one.
    – Flimm
    Commented Jul 13, 2016 at 20:34
  • @ElipticalView: by set to do nothing, you're referring to the line: [ -z "$PS1" ] && return? The table in my answer is giving the list of scripts run by Bash regardless of the contents of the scripts, if the script itself has the line [ -z "$PS1" ] && return, of course that would take effect, but I don't think that should mean I should change the table.
    – Flimm
    Commented Oct 18, 2016 at 10:51