Mangle prompt setup and undefine function after use