title: Pass wildcard to alias
body: <p>I use a modifies list command as alias (in KSH):</p>
  
  <p><code>alias ltf='ls -lrt -d -1 $PWD/*'</code></p>
  
  <p>So the command <code>ltf</code> displays something like this:</p>
  
  <p><code>-rw-r--r-- 1 myuser mygroup 0 Apr 18 12:00 /usr/test.txt</code><br>
  <code>-rw-r--r-- 1 myuser mygroup 0 Apr 18 12:00 /usr/test.log</code></p>
  
  <p>Now I want to use wildcards. But using <code>ltf *.log</code> does not work.</p>
  
  <p>What is the best way to achieve that?</p>
  
  <hr>
  
  <p>Update: I want to specify my question because the answers does not solve my problem so far: the command <code>ls -lrt -d -1 $PWD/*</code> executes a list command with some options AND it displays the full path, which is an important point for me.  </p>
  
  <p>Unfortunately the <em>alias</em> approach does not allow wildcard parameters. My goal is to make this possible. Probably it is the best way to create the command as a function. This is mentioned in the answers, but it does not work yet (see comments).</p>
  
  <p>Any ideas?</p>