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 directoryitunes
- Controle 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 directorytrash
- Move a specified file to the Trash
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