Fix the command "extract"
Fix for zsh prompt

If the promptway plugin could not be used, use %~ instead