kelleyma49 / PSFzf

A PowerShell wrapper around the fuzzy finder fzf
MIT License
748 stars 35 forks source link

Open file from powershell #46

Open ssrahul96 opened 4 years ago

ssrahul96 commented 4 years ago

when using ctrl + t, after selecting the file, the file name is marked with '{0}', hence could not autostart it.

i tweaked my PSFzf.psm1 to add '&' before '{0}' and start the file.

eg. .txt file will be opened in notepad by default,

kelleyma49 commented 3 years ago

I'm not sure what the issue is? Or is this a feature ask?

mattcargile commented 2 years ago

It is my understanding, @ssrahul96 , that you could type ii for Invoke-Item first and then Ctrl + t. Then it would open the file with your default. This is assuming your shell of choice is either powershell.exe or pwsh.exe.