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
2ecb17c2
Commit
2ecb17c2
authored
Aug 12, 2015
by
Robby Russell
Browse files
Merge pull request #4230 from mcornella/revert-custom-early-load
Revert commit
a28dbc83
("Move custon *.zsh file sourcing up ...")
parents
20f536c0
3fe3ce8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
oh-my-zsh.sh
View file @
2ecb17c2
...
...
@@ -29,11 +29,6 @@ for config_file ($ZSH/lib/*.zsh); do
source
$config_file
done
# Load all of your custom configurations from custom/
for
config_file
(
$ZSH_CUSTOM
/
*
.zsh
(
N
))
;
do
source
$config_file
done
unset
config_file
is_plugin
()
{
local
base_dir
=
$1
...
...
@@ -77,6 +72,12 @@ for plugin ($plugins); do
fi
done
# Load all of your custom configurations from custom/
for
config_file
(
$ZSH_CUSTOM
/
*
.zsh
(
N
))
;
do
source
$config_file
done
unset
config_file
# Load the theme
if
[
"
$ZSH_THEME
"
=
"random"
]
;
then
themes
=(
$ZSH
/themes/
*
zsh-theme
)
...
...
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