mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 18:31:41 +00:00
[Fix #253] Move Prezto settings into their own file
This commit is contained in:
@ -5,12 +5,13 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
# Usage:
|
||||
# To enable key bindings, add the following to zshrc, and replace 'map' with
|
||||
# 'emacs' or 'vi.
|
||||
# To enable key bindings, add the following to zpreztorc, and replace 'map'
|
||||
# with 'emacs' or 'vi.
|
||||
#
|
||||
# zstyle ':prezto:module:editor' keymap 'map'
|
||||
#
|
||||
# To enable the auto conversion of .... to ../.., add the following to zshrc.
|
||||
# To enable the auto conversion of .... to ../.., add the following to
|
||||
# zpreztorc.
|
||||
#
|
||||
# zstyle ':prezto:module:editor' dot-expansion 'yes'
|
||||
#
|
||||
|
@ -17,7 +17,7 @@ Settings
|
||||
|
||||
### Prefix
|
||||
|
||||
To use a different prefix, add the following to *zshrc*, and replace 'g' with
|
||||
To use a different prefix, add the following to *zpreztorc*, and replace 'g' with
|
||||
the desired prefix:
|
||||
|
||||
zstyle ':prezto:module:gnu-utility' prefix 'g'
|
||||
|
@ -22,7 +22,7 @@ Settings
|
||||
### Case Sensitivity
|
||||
|
||||
To enable case-sensitivity for this module only, add the following line to
|
||||
*zshrc*:
|
||||
*zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:history-substring-search' case-sensitive 'yes'
|
||||
|
||||
@ -31,7 +31,8 @@ To enable case-sensitivity for this module only, add the following line to
|
||||
If colors are enabled, *history-substring-search* will automatically highlight
|
||||
positive results.
|
||||
|
||||
To enable highlighting for this module only, add the following line to *zshrc*:
|
||||
To enable highlighting for this module only, add the following line to
|
||||
*zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:history-substring-search' color 'yes'
|
||||
|
||||
|
@ -8,14 +8,14 @@ Settings
|
||||
--------
|
||||
|
||||
To enable a Pacman frontend, for example, [Yaourt][2], add the following line to
|
||||
*zshrc*:
|
||||
*zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:pacman' frontend 'yaourt'
|
||||
|
||||
If you have enabled color globally in *zshrc*, you may disable it for certain
|
||||
If you have enabled color globally in *zpreztorc*, you may disable it for certain
|
||||
commands.
|
||||
|
||||
To disable `yaourt` highlighting, add the following line to *zshrc*:
|
||||
To disable `yaourt` highlighting, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:pacman:yaourt' color 'no'
|
||||
|
||||
|
@ -6,7 +6,7 @@ Loads prompt [themes][1].
|
||||
Settings
|
||||
--------
|
||||
|
||||
To select a prompt theme, add the following to *zshrc*, and replace **name**
|
||||
To select a prompt theme, add the following to *zpreztorc*, and replace **name**
|
||||
with the name of the theme you wish to load. Setting it to **random** will load
|
||||
a random theme.
|
||||
|
||||
|
@ -10,7 +10,7 @@ Settings
|
||||
|
||||
Starts a GNU Screen session automatically when Zsh is launched.
|
||||
|
||||
To enable this feature, add the following line to *zshrc*:
|
||||
To enable this feature, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:screen' auto-start 'yes'
|
||||
|
||||
|
@ -8,13 +8,13 @@ Settings
|
||||
|
||||
### Agent Forwarding
|
||||
|
||||
To enable ssh-agent forwarding, add the following line to *zshrc*:
|
||||
To enable ssh-agent forwarding, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:ssh-agent' forwarding 'yes'
|
||||
|
||||
### Identities
|
||||
|
||||
To load multiple identities, add the following line to *zshrc*:
|
||||
To load multiple identities, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:ssh-agent' identities 'id_rsa' 'id_rsa2' 'id_github'
|
||||
|
||||
|
@ -19,7 +19,8 @@ Settings
|
||||
|
||||
### Highlighting
|
||||
|
||||
To enable highlighting for this module only, add the following line to *zshrc*:
|
||||
To enable highlighting for this module only, add the following line to
|
||||
*zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:syntax-highlighting' color 'yes'
|
||||
|
||||
@ -28,7 +29,7 @@ To enable highlighting for this module only, add the following line to *zshrc*:
|
||||
Syntax highlighting is accomplished by pluggable [highlighters][2]. This module
|
||||
enables the *main*, *brackets*, and *cursor* highlighters by default.
|
||||
|
||||
To enable all highlighters, add the following to *zshrc*:
|
||||
To enable all highlighters, add the following to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:syntax-highlighting' highlighters \
|
||||
'main' \
|
||||
|
@ -9,7 +9,7 @@ Settings
|
||||
### Auto-Title
|
||||
|
||||
To auto set the terminal window and tab titles with the current command or
|
||||
directory, add the following to *zshrc*:
|
||||
directory, add the following to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:terminal' auto-title 'yes'
|
||||
|
||||
|
@ -10,7 +10,7 @@ Settings
|
||||
|
||||
Starts a tmux session automatically when Zsh is launched.
|
||||
|
||||
To enable this feature, add the following line to *zshrc*:
|
||||
To enable this feature, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:tmux' auto-start 'yes'
|
||||
|
||||
|
@ -8,23 +8,23 @@ Settings
|
||||
|
||||
### Highlighting
|
||||
|
||||
If you have enabled color globally in *zshrc*, you may disable it for certain
|
||||
If you have enabled color globally in *zpreztorc*, you may disable it for certain
|
||||
commands.
|
||||
|
||||
To disable `ls` color, add the following line to *zshrc*; when coloring is
|
||||
To disable `ls` color, add the following line to *zpreztorc*; when coloring is
|
||||
disabled, type indicators (\*, /, =>, @, =, |, %) will be appended to entries.
|
||||
|
||||
zstyle ':prezto:module:utility:ls' color 'no'
|
||||
|
||||
To disable `diff` highlighting, add the following line to *zshrc*:
|
||||
To disable `diff` highlighting, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:utility:diff' color 'no'
|
||||
|
||||
To disable `wdiff` highlighting, add the following line to *zshrc*:
|
||||
To disable `wdiff` highlighting, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:utility:wdiff' color 'no'
|
||||
|
||||
To disable `make` highlighting, add the following line to *zshrc*:
|
||||
To disable `make` highlighting, add the following line to *zpreztorc*:
|
||||
|
||||
zstyle ':prezto:module:utility:make' color 'no'
|
||||
|
||||
|
Reference in New Issue
Block a user