Inspired by the oh-my-zsh’s plugin of same name by sorin-ionescu, this plug-in brings a number of handy functions:
cdf
-cd
to the current Finder directoryflushdns
- Flushes the DNS cache for Yosemite and El Capitanitunes
- Control iTunes: Play, pause, stop, resume, etc.manp
- Open a specified man page in Previewpfd
- Return the path of the frontmost Finder windowpfs
- Return the current Finder selectionpushdf
-pushd
to the current Finder directoryql
- Quick Look a specified file or directoryshowhidden
- Shows hidden files and folders in Findertrash
- Move a specified file to the Trashunset
- Emulates theunset
command to unset an environment variableupdatedb
- Updates locate command database
Note: the
tab
function was dropped in favor a more robust plugin-tab.
$ omf install osx
$ itunes -h # show usage and available options
$ manp fish # open Fish's manpage in Preview
$ ql *jpg # quick look all such pictures