mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Added missing FX and named colors to spectrum.
This commit is contained in:
parent
05c94e2dd5
commit
b65195156d
39 changed files with 57 additions and 16 deletions
|
|
@ -1,36 +0,0 @@
|
|||
# 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"
|
||||
|
||||
# Load all plugins defined in ~/.zshrc.
|
||||
for plugin in $plugins; do
|
||||
if [[ -f "$OMZ/plugins/$plugin/$plugin.plugin.zsh" ]]; then
|
||||
source "$OMZ/plugins/$plugin/$plugin.plugin.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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue