title: Use C shell alias variables except for one
body: <p>I would like to make an alias that uses the first cli variable as an input to something and puts the rest of the variables in the end, like for example:</p>
  
  <pre><code>alias rerun '`head -n 2 \!:1/some_log_file.log | tail -n 1` \!:*'
  </code></pre>
  
  <p>In the example, I would like to use the first variable as the directory name and all the other variables (except for the first) at the end, </p>
  
  <p>EDIT:
  what I am currently getting from the example above is: first argument goes to the directory name as planned, and all of the arguments altogether go to the end like this (test is the directory containing the log file):</p>
  
  <pre><code>% rerun test foo bar foo
  &lt;executed_cmd&gt; test foo bar foo
  </code></pre>
  
  <p>I want:</p>
  
  <pre><code>&lt;executed_cmd&gt; foo bar foo
  </code></pre>
  
  <p>so that I can pass extra arguments to the executed command (unlimited)</p>
  
  <p>Thanks
  Alex</p>