9bdc1b35d5
This includes some improvements by @indrajitr in addition to the main migration. The first step was to avoid PROMPT and RPROMPT modification when possible (which may help resolve some other issues as well relating to zsh crashes with the sorin prompt) then update the displayed git information in a separate variable rather than a command. We use zsh-async for creating and running background tasks. The sorin prompt uses it to update git info without blocking the prompt from displaying (because of how long it can take). In the future it may be worth moving more tasks and more prompts to using this. The move to zsh-async does make the git prompt slower in some circumstances (most noticeable in large repos), but this is a worthwhile tradeoff to avoid the cache file which had a number of potential security holes. We have also switched to adding zsh-async as an external submodule (rather than the version bundled with pure) which may cause some migration headaches, but it will be worth it in the long run. |
||
---|---|---|
.. | ||
archive | ||
autosuggestions | ||
command-not-found | ||
completion | ||
directory | ||
dnf | ||
docker | ||
dpkg | ||
editor | ||
emacs | ||
environment | ||
fasd | ||
git | ||
gnu-utility | ||
gpg | ||
haskell | ||
helper | ||
history | ||
history-substring-search | ||
homebrew | ||
macports | ||
node | ||
ocaml | ||
osx | ||
pacman | ||
perl | ||
prompt | ||
python | ||
rails | ||
rsync | ||
ruby | ||
screen | ||
spectrum | ||
ssh | ||
syntax-highlighting | ||
terminal | ||
tmux | ||
utility | ||
wakeonlan | ||
yum | ||
README.md |
Modules
Load modules in zpreztorc. The order matters.
zstyle ':prezto:load' pmodule 'environment' 'terminal'
Archive
Provides functions to list and extract archives.
Autosuggestions
Integrates zsh-autosuggestions into Prezto.
Command-Not-Found
Loads the command-not-found tool on Debian-based distributions.
Completion
Loads and configures tab completion and provides additional completions from the zsh-completions project.
Directory
Sets directory options and defines directory aliases.
DNF
Defines dnf aliases.
Dpkg
Defines dpkg aliases and functions.
Editor
Sets key bindings.
Emacs
Enables Emacs dependency management.
Environment
Sets general shell options and defines environment variables.
Fasd
Maintains a frequently used file and directory list for fast access.
Git
Enhances the Git distributed version control system by providing aliases, functions and by exposing repository status information to prompts.
GNU Utility
Provides for the interactive use of GNU utilities on non-GNU systems.
GPG
Provides for an easier use of GPG by setting up gpg-agent.
Haskell
Enables local Haskell package installation.
Helper
Provides helper functions for developing modules.
History
Sets history options and defines history aliases.
History Substring Search
Integrates zsh-history-substring-search into Prezto.
Homebrew
Defines Homebrew aliases.
MacPorts
Defines MacPorts aliases and adds MacPorts directories to path variables.
Node.js
Provides utility functions for Node.js and loads npm completion.
OCaml
Initializes OCaml package management.
OSX
Defines Mac OS X aliases and functions.
Pacman
Provides aliases and functions for the Pacman package manager and frontends.
Perl
Enables local Perl module installation on Mac OS X and defines alises.
Prompt
Loads prompt themes.
Python
Enables local Python and local Python package installation.
Ruby on Rails
Defines Ruby on Rails aliases.
Rsync
Defines rsync aliases.
Ruby
Configures Ruby local gem installation, loads version managers, and defines aliases.
GNU Screen
Defines GNU Screen aliases and provides for auto launching it at start-up.
Spectrum
Provides for easier use of 256 colors and effects.
SSH
Provides for an easier use of SSH by setting up ssh-agent.
Syntax Highlighting
Integrates zsh-syntax-highlighting into Prezto.
Terminal
Sets terminal window and tab titles.
Tmux
Defines tmux aliases and provides for auto launching it at start-up.
Utility
Defines general aliases and functions.
Wake-on-LAN
This module provides a wrapper around the wakeonlan tool.
Yum
Defines yum aliases.