mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-24 10:29:08 +00:00
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.
Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.
While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
OSX
Defines macOS aliases and functions.
This module must be loaded before the completion module so that the
provided completion definitions are loaded automatically by completion
module.
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
${ZDOTDIR:-$HOME}/.zpreztorc and replace the keyword with the one
configured in Dash.app.
zstyle ':prezto:module:osx:man' dash-keyword 'keyword'
Aliases
cdfchanges the current working director to the current Finder directory.pushdfpushes the current working directory onto the directory queue and changes the current working director to the current Finder directory.
Functions
mandopens man pages in Dash.app.manpopens man pages in Preview.app.pfdprints the current Finder directory.pfsprints the current Finder selection.tabcreates a new tab (works in both Terminal and iTerm.app).qlpreviews files in Quick Look.osx-rm-dir-metadatadeletes.DS_Store,__MACOSXcruft.osx-ls-download-historydisplays the macOS download history.osx-rm-download-historydeletes the macOS download history.
Authors
The authors of this module should be contacted via the issue tracker.