Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
8294cf44
Commit
8294cf44
authored
Jan 08, 2011
by
Michael Komitee
Browse files
Postponing sourcing of the theme until after local customizations
parent
7a9cc198
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/appearance.zsh
View file @
8294cf44
...
@@ -34,5 +34,3 @@ ZSH_THEME_GIT_PROMPT_CLEAN="" # Text to display if the branch is c
...
@@ -34,5 +34,3 @@ ZSH_THEME_GIT_PROMPT_CLEAN="" # Text to display if the branch is c
# Setup the prompt with pretty colors
# Setup the prompt with pretty colors
setopt prompt_subst
setopt prompt_subst
# Load the theme
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
\ No newline at end of file
oh-my-zsh.sh
View file @
8294cf44
...
@@ -14,6 +14,9 @@ for config_file ($ZSH/custom/*.zsh) source $config_file
...
@@ -14,6 +14,9 @@ for config_file ($ZSH/custom/*.zsh) source $config_file
plugin
=
${
plugin
:
=()
}
plugin
=
${
plugin
:
=()
}
for
plugin
(
$plugins
)
source
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
for
plugin
(
$plugins
)
source
$ZSH
/plugins/
$plugin
/
$plugin
.plugin.zsh
# Load the theme
source
"
$ZSH
/themes/
$ZSH_THEME
.zsh-theme"
# Check for updates on initial load...
# Check for updates on initial load...
if
[
"
$DISABLE_AUTO_UPDATE
"
=
"true"
]
if
[
"
$DISABLE_AUTO_UPDATE
"
=
"true"
]
then
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment