Updated handling of preferred shell to prefer /usr/local/bin first and allow override if the EDITOR environment variable is already set when profile is loaded.
Updated handling of preferred shell to prefer /usr/local/bin first and allow override if the EDITOR environment variable is already set when profile is loaded.

dwimsey/cusc