Opening Pycharm from terminal with the current path
<p>If you give in the command "atom ." in the terminal, the Atom editor opens the current folder and I am ready to code.</p>

<p>I am trying to achieve the same with Pycharm using Ubuntu: get the current directory and open it with Pycharm as a project.</p>

<p>Is there way to achieve this by setting a bash alias?</p>

<p>This works for me:</p>

<pre><code>alias atom_pycharm='~/pycharm/bin/pycharm.sh .'
</code></pre>

<p>Maybe you installed it to a different path, though - <code>locate</code> your <code>pycharm.sh</code> file and modify accordingly.  </p>

<p>You have the usual bash tricks: if you want to run in the background, append an <code>&amp;</code>, redirect stdout/stderr where you want etc.</p>

python bash command-line pycharm