title: Passing alias as function argument linux bash
body: <p>Hi everyone I'm learning how to use the .bashrc file in linux and as my title states I'm wondering how to make a function recognize an argument as an alias </p>
  
  <p>I have an alias called home defined as: <code>alias home=$HOME</code></p>
  
  <p>and a function go defined as</p>
  
  <pre><code>function go(){
  cd $1
  ls $1
  }
  </code></pre>
  
  <p>but when I do <code>go home</code>
  i get </p>
  
  <p><code>bash: cd: home: No such file or directory
  ls: cannot access home: No such file or directory</code></p>
  
  <p>when I want it to do go $HOME</p>
  
  <p>how would i go about implementing this?</p>