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.

5
  • Thanks for the answer. I removed my .bashrc and I was able to kill grep with Ctrl+C. So I suppose that is causing the issue. I isolated the contents of the file few at a time to narrow down the exact cause without much luck. Any ideas on how to debug this? Commented Oct 24, 2018 at 18:54
  • did you find anything related to trap (or a source or . file that includes trap?) otherwise it might be some shopt that could differ between a bare config and yours Commented Oct 24, 2018 at 19:44
  • Finally I found that sourcing RVM script at ~/.rvm/scripts/rvm was causing this issue. Should I report this to the RVM maintainer? Commented Oct 25, 2018 at 10:14
  • you probably should edit your post to show what the offending code looks like. reporting it may also be a good idea, as whatever that code is is kinda breaking things Commented Oct 25, 2018 at 13:58
  • I have updated the question with the lines that caused the issue. Also, I will try to reach the RVM maintainer. Commented Oct 26, 2018 at 13:22