Skip to main content

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.

Required fields*

8
  • I doubt most people are using bash nowadays. That would be a deliberate choice. Commented May 3 at 15:23
  • @Marc Wilson- the solution works with all the korn/bourne like shells. :-) Commented May 3 at 15:34
  • @MarcWilson It requires a deliberate choice to migrate existing accounts from bash to zsh, so a lot of people will still use bash. Commented May 3 at 19:05
  • @fd0 It doesn't. If you say, maybe, exec $SHELL -l, it might. Depending on how you are invoking your currently running shell. More than a few people don't or won't use chsh and just mangle the launch config in Terminal.app. Commented May 3 at 20:28
  • @nohillside That's entirely true, but I wonder how many of those there still are. I haven't run into one myself in quite a while. Commented May 3 at 20:37