Skip to content

Instantly share code, notes, and snippets.

@mwallner
Created September 27, 2019 09:15
Show Gist options
  • Save mwallner/048c5a74556ac3260c99af301ef3e43d to your computer and use it in GitHub Desktop.
Save mwallner/048c5a74556ac3260c99af301ef3e43d to your computer and use it in GitHub Desktop.
using fzf to nagive directories in PowerShell

using fzf to nagive directories in PowerShell

simplest way: 1-liner

Set-Location (Get-Item $(fzf)).Directory.FullName

creating a function

function cd-fzf {
  Set-Location (Get-Item $(fzf)).Directory.FullName
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment