title: How to call a command without giving its full path?
body: <p>I installed a text editor under <code>/usr/share/my-editor/editor-executable</code>.</p>
  
  <p>When I want to launch the editor in terminal I have to write the complete path:</p>
  
  <pre><code># /usr/share/my-editor/editor-executable file-to-open
  </code></pre>
  
  <p>I would create a command for the editor so I can simply digit:</p>
  
  <pre><code># my-editor file-to-open
  </code></pre>
  
  <p>How can I do?</p>