title: Environment variables in symbolic links
body: <p>Can we use $HOME or other environment variable in symbolic links?</p>
  
  <p>I know about using relative paths <code>../../.config</code> but sometimes are to many <code>../</code> :) something like <code>~/.config</code>  would be more comfortable, or use of $HOME.</p>
  
  <p>Edit:</p>
  
  <p><a href="https://stackoverflow.com/users/462620/habbie">habbie</a>'s answer with <a href="https://stackoverflow.com/users/333698/psmears">psmears</a>'s comment is the answer, sorry my question was incomplete.</p>
  
  <p>While (as other answers show) you can use environment variables when creating symbolic links (as with any shell command!), you can't actually have environment variable (or '~') references in the symlink itself</p>