Create a symbolic link named "/usr/bin/my-editor" to "/usr/share/my-editor/my-editor-executable" and attemp to hard link directories
ln -sF /usr/share/my-editor/my-editor-executable   /usr/bin/my-editor