Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: C++ | Size: 0.27 KB | Hits: 62 | Expires: Never
Copy text to clipboard
  1. function set-location-v2 {
  2.   param(            
  3.   )
  4.              
  5.   begin {    
  6.   }
  7.  
  8.   process {                                            
  9.   }
  10.      
  11.   end {
  12.         $path = [string]::join(" ",$Args)
  13.         set-location $path
  14.   }
  15. }
  16.  
  17. ri alias:cd
  18. new-alias cd set-location-v2