Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. # using fzf to nagive directories in PowerShell
  2.  
  3. ## simplest way: 1-liner
  4. ```
  5. Set-Location (Get-Item $(fzf)).Directory.FullName
  6. ```
  7.  
  8. ## creating a function
  9. ```
  10. function cd-fzf {
  11. Set-Location (Get-Item $(fzf)).Directory.FullName
  12. }
  13. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement