title: How to make .bashrc aliases available within a vim shell command? (:!...)
body: <p>I use bash on mac and one of the aliases is like this</p>
  
  <pre><code>alias gitlog='git --no-pager  log -n 20 --pretty=format:%h%x09%an%x09%ad%x09%s --date=short --no-merges'
  </code></pre>
  
  <p>However when I do</p>
  
  <pre><code> :! gitlog
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>/bin/bash: gitlog: command not found 
  </code></pre>
  
  <p>I know I can add aliases like this in my .gitconfig</p>
  
  <pre><code>[alias]
      co = checkout
      st = status
      ci = commit
      br = branch
      df = diff
  </code></pre>
  
  <p>However I don't want to add all my bash aliases to .gitconfig. That is not DRY.</p>
  
  <p>Is there a better solution?</p>