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*

3
  • Appreciate this may well be accurate but the question is specifically for bash. Commented May 26, 2022 at 10:15
  • @TonyBarganski, yes, I gave an answer for bash as well, this answer will come handy for anybody coming here with the same question for zsh (or when you decide to switch to zsh eventually ;-)). Commented May 26, 2022 at 10:19
  • Sorry, I noticed that its my fault, I didn't specifically specify bash function in my original post. I tried to undo my down vote but it won't let me. Commented May 26, 2022 at 10:31