How should I do it when I define a function which wraps a command and where
I want to call the command from inside the function?

An example of this

function rake
  if test -f Rakefile
    bundle exec rake $argv
  else
    rake $argv   # this ends up being an infinite loop
  end
end

Of course I could do `ruby -S rake` instead, but that's not a general
solution to this problem.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to