1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 06:58:01 +00:00
prezto/modules/osx
2017-08-04 13:45:56 -05:00
..
functions [general] Miscellaneous cleanup and formatting 2017-08-04 13:45:56 -05:00
init.zsh Update osx alias descriptions 2014-02-02 20:08:55 -05:00
README.md [osx] Support custom keyword used by mand to open man pages in Dash.app 2017-07-23 13:19:04 -05:00

OSX

Defines Mac OS X aliases and functions.

Settings

Dash Keyword

To change the keyword used by mand to open man pages in Dash.app from its default value of 'manpages', add the following line in zpreztorc and replace the keyword with the one configured in Dash.app.

zstyle ':prezto:module:osx:man' dash-keyword 'keyword'

Aliases

  • cdf changes the current working director to the current Finder directory.
  • pushdf pushes the current working directory onto the directory queue and changes the current working director to the current Finder directory.

Functions

  • mand opens man pages in Dash.app.
  • manp opens man pages in Preview.app.
  • pfd prints the current Finder directory.
  • pfs prints the current Finder selection.
  • tab creates a new tab (works in both Terminal and iTerm).
  • ql previews files in Quick Look.
  • osx-rm-dir-metadata deletes .DS_Store, __MACOSX cruft.
  • osx-ls-download-history displays the Mac OS X download history.
  • osx-rm-download-history deletes the Mac OS X download history.

Authors

The authors of this module should be contacted via the issue tracker.