Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Small scripts, hacks and automations you're proud of?.
alias f='files=$(cat ~/.fzfdirs | fzf) && cd "${files}"'
I type f and it fuzzy find the directory that I have added to the ~/.fzfdirs file and cd into it.
If I want to add a dir, I append the directory into the file or `pwd >> ~/.fzfdirs` inside the wanted directory.
I find it simple and efficient. I gives me an amazing boost of productivity for moving across directories.
With 3-4 key stokes I get inside any common directory on my box.
fzf is so amazing.
There are no comments on this comment yet.
alias f='files=$(cat ~/.fzfdirs | fzf) && cd "${files}"'
I type f and it fuzzy find the directory that I have added to the ~/.fzfdirs file and cd into it.
If I want to add a dir, I append the directory into the file or `pwd >> ~/.fzfdirs` inside the wanted directory.
I find it simple and efficient. I gives me an amazing boost of productivity for moving across directories.
With 3-4 key stokes I get inside any common directory on my box.
fzf is so amazing.