3. Create a new Zsh configuration by copying the Zsh configuration files
provided:
for rcfile in "${ZDOTDIR:-$HOME}/.zprezto/runcoms/z"{shenv,shrc,login,logout}; do
cp -f "$rcfile" "$ZDOTDIR/.$rcfile:t"
done
3. Set Zsh as your default shell:
4. Set Zsh as your default shell:
chsh -s /bin/zsh
4. Open a new Zsh terminal window or tab.
5. Open a new Zsh terminal window or tab.
### Mac OS X
@ -49,14 +53,14 @@ directories end up at the tail of the array.
@@ -49,14 +53,14 @@ directories end up at the tail of the array.
### Troubleshooting
If you are not able to find certain commands after switching to *Oh My Zsh*,
If you are not able to find certain commands after switching to *Prezto*,
modify the `PATH` variable in *~/.zshenv* then open a new Zsh terminal
window or tab.
Usage
-----
Oh My Zsh has many features disabled by default. Read the source code and
Prezto has many features disabled by default. Read the source code and
accompanying README files to learn of what is available.
### Modules
@ -149,14 +153,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
@@ -149,14 +153,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
@ -35,7 +35,7 @@ unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
@@ -35,7 +35,7 @@ unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
# Grep
#
if zstyle -t ':omz:environment:grep' color;then
if zstyle -t ':prezto:environment:grep' color;then
exportGREP_COLOR='37;45'
exportGREP_OPTIONS='--color=auto'
fi
@ -44,7 +44,7 @@ fi
@@ -44,7 +44,7 @@ fi
# Termcap
#
if zstyle -t ':omz:environment:termcap' color;then
if zstyle -t ':prezto:environment:termcap' color;then
@ -10,7 +10,7 @@ To select a prompt theme, add the following to *zshrc*, and replace **name**
@@ -10,7 +10,7 @@ To select a prompt theme, add the following to *zshrc*, and replace **name**
with the name of the theme you wish to load. Setting it to **random** will load
@ -67,7 +67,7 @@ To display the name of the current virtual enviroment in a prompt, define the
@@ -67,7 +67,7 @@ To display the name of the current virtual enviroment in a prompt, define the
following style in the `prompt_theme_setup` function.
@ -12,7 +12,7 @@ Starts a GNU Screen session automatically when Zsh is launched.
@@ -12,7 +12,7 @@ Starts a GNU Screen session automatically when Zsh is launched.
To enable this feature, add the following line to *zshrc*:
To enable highlighting for this module only, add the following line to *zshrc*:
zstyle ':omz:module:syntax-highlighting' color 'yes'
zstyle ':prezto:module:syntax-highlighting' color 'yes'
### Highlighters
@ -30,7 +30,7 @@ enables the *main*, *brackets*, and *cursor* highlighters by default.
@@ -30,7 +30,7 @@ enables the *main*, *brackets*, and *cursor* highlighters by default.
To enable all highlighters, add the following to *zshrc*:
@ -12,10 +12,10 @@ Starts a tmux session automatically when Zsh is launched.
@@ -12,10 +12,10 @@ Starts a tmux session automatically when Zsh is launched.
To enable this feature, add the following line to *zshrc*:
zstyle ':omz:module:tmux' auto-start 'yes'
zstyle ':prezto:module:tmux' auto-start 'yes'
It will create a background session named _#OMZ_ and attach every new shell to
it.
It will create a background session named _#Prezto_ and attach every new shell
to it.
To avoid keeping open sessions, this module sets `destroy-unattached off` on
the background session and `destroy-unattached on` on every other session
@ -38,7 +38,7 @@ following to *tmux.conf*:
@@ -38,7 +38,7 @@ following to *tmux.conf*:
@ -45,7 +45,7 @@ zprofile and zlogin are not meant to be used concurrently but can be done so.
@@ -45,7 +45,7 @@ zprofile and zlogin are not meant to be used concurrently but can be done so.
This file is sourced by interactive shells. It should define aliases,