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*

5
  • nope it doesn't . I have edited the question so it makes it more explicit that I am using define just as an alias and not as a function. Hope that makes it clearer above. Commented Feb 12, 2020 at 19:49
  • 2
    Use a function. Aliases can't take arguments, as you appear to try to do. The answers to the question that jesse_b linked to explains this in detail. Commented Feb 12, 2020 at 19:51
  • So this example given is wrong ? read.cash/@Polydot/… @jesse_b Commented Feb 12, 2020 at 19:58
  • @shirish: Yes it is. Commented Feb 12, 2020 at 19:59
  • can you share how the function would look to fix it in .bashrc or should I make a newer question ? Commented Feb 12, 2020 at 20:00