Fixed bugs in edfunc function; now works on home machine, and returns
after editing and sourcing rc files (instead of trying to source a
nonexistent temp file).