mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-10-14 11:09:08 +00:00
Added missing FX and named colors to spectrum.
This commit is contained in:
36
init.zsh
Normal file
36
init.zsh
Normal file
@@ -0,0 +1,36 @@
|
||||
# Initializes OH MY ZSH.
|
||||
|
||||
# Disable color in dumb terminals.
|
||||
if [[ "$TERM" == 'dumb' ]]; then
|
||||
COLOR='false'
|
||||
fi
|
||||
|
||||
# Add functions to fpath.
|
||||
fpath=($OMZ/themes/*(/) $OMZ/plugins/${^plugins} $OMZ/functions $fpath)
|
||||
|
||||
# Load and initialize the completion system.
|
||||
autoload -Uz compinit && compinit -i
|
||||
|
||||
# Source function files.
|
||||
source "$OMZ/functions/init.zsh"
|
||||
|
||||
# Source plugins defined in ~/.zshrc.
|
||||
for plugin in $plugins; do
|
||||
if [[ -f "$OMZ/plugins/$plugin/init.zsh" ]]; then
|
||||
source "$OMZ/plugins/$plugin/init.zsh"
|
||||
fi
|
||||
done
|
||||
|
||||
# Set PATH for Mac OS X GUI applications (requires re-login).
|
||||
if [[ "$OSTYPE" == darwin* ]]; then
|
||||
launchctl setenv PATH "$PATH" &!
|
||||
fi
|
||||
|
||||
# Load and run the prompt theming system.
|
||||
autoload -Uz promptinit && promptinit -i
|
||||
|
||||
# Compile zcompdump, if modified, to increase startup speed.
|
||||
if [[ "$HOME/.zcompdump" -nt "$HOME/.zcompdump.zwc" ]] || [[ ! -f "$HOME/.zcompdump.zwc" ]]; then
|
||||
zcompile "$HOME/.zcompdump"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user