A tiny erlang shell tip

I’ve been at Erlang again, and I found this handy tip that sets cwd to your erlang code directory. Joe Armstrong’s book only gives the windows tip, but if you’re on Linux, you want to put the following in ~/.erlang:

   c:cd("/home/projects/erlcode" ).

Hope that helps!

blog comments powered by Disqus