title: Can't realize alias/substitution function for my .bashrc
body: <p>I'm trying to colourize my find command so I've added this alias function to my .bashrc.</p>
  
  <pre><code># liberate your find
  function find
  {
      command find $@ -exec ls --color=auto -d {} \;
  }
  </code></pre>
  
  <p>But there is unexpected behavior using this code. It drops my quotes.</p>
  
  <p>GNU bash, version 4.4.23(1)-release (x86_64-pc-linux-gnu)</p>
  
  <p>Use my function:</p>
  
  <pre><code>find ./ -name '*.pl' -or -name '*.pm'
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>./lib/cover.pm
  ./lib/db.pm
  </code></pre>
  
  <p>Using the same find function but built-in:</p>
  
  <pre><code>command find ./ -name '*.pl' -or -name '*.pm'
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>./auth.pl
  ./index.pl
  ./title.pl
  ./lib/cover.pm
  ./lib/db.pm
  ./fs2db.pl
  </code></pre>
  
  <p>So the second variant didn't eat my quotes and works as it should.</p>