mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fix for dumb terminals like Vim's.
This commit is contained in:
parent
746a10368a
commit
e3c3c22ddf
8 changed files with 22 additions and 17 deletions
11
oh-my-zsh.sh
11
oh-my-zsh.sh
|
|
@ -1,5 +1,10 @@
|
|||
# Initializes Oh My Zsh
|
||||
|
||||
# Disable colors on dumb terminals
|
||||
if [ "$TERM" = "dumb" ]; then
|
||||
DISABLE_COLOR="true"
|
||||
fi
|
||||
|
||||
# add a function path
|
||||
fpath=($ZSH/functions $fpath)
|
||||
|
||||
|
|
@ -7,9 +12,6 @@ fpath=($ZSH/functions $fpath)
|
|||
# TIP: Add files you don't want in git to .gitignore
|
||||
for config_file ($ZSH/lib/*.zsh) source $config_file
|
||||
|
||||
# Load all of your custom configurations from custom/
|
||||
for config_file ($ZSH/custom/*.zsh) source $config_file
|
||||
|
||||
# Load all of the plugins that were defined in ~/.zshrc
|
||||
plugin=${plugin:=()}
|
||||
for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
|
||||
|
|
@ -17,6 +19,9 @@ for plugin ($plugins) source $ZSH/plugins/$plugin/$plugin.plugin.zsh
|
|||
# Load the theme
|
||||
source "$ZSH/themes/$ZSH_THEME.zsh-theme"
|
||||
|
||||
# Load all of your custom configurations from custom/
|
||||
for config_file ($ZSH/custom/*.zsh) source $config_file
|
||||
|
||||
# Check for updates on initial load...
|
||||
if [ "$DISABLE_AUTO_UPDATE" = "true" ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue