Date Tags misc

Been using the great fzf CLI utility lately. Here's a neat trick to copy the search result to the Windows clipboard:

fzf | clip

The resulting copied text tends to include a carriage return however. To remove it, either add the --print0 option to the fzf command or permanently make it a default option using the FZF_DEFAULT_OPTS environment variable.

The use case for this trick is to quickly find a file within a project, copy the path to the clipboard, and then paste the path into a utility (e.g. text editor) to open it.

The fzf utility can easily be installed on Windows using Chocolatey.

Hi, I am Jeff Rimko!
A computer engineer and software developer in the greater Pittsburgh, Pennsylvania area.