Fixed EDITOR and PROMPT_COMMAND