Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
a28dbc83
Commit
a28dbc83
authored
Feb 21, 2015
by
Matthew Hager
Committed by
ncanceill
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move custon *.zsh file sourcing up so that they can load plugins and other things that come after.
parent
8652fd64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
oh-my-zsh.sh
oh-my-zsh.sh
+5
-6
No files found.
oh-my-zsh.sh
View file @
a28dbc83
...
@@ -29,6 +29,11 @@ for config_file ($ZSH/lib/*.zsh); do
...
@@ -29,6 +29,11 @@ for config_file ($ZSH/lib/*.zsh); do
source
$config_file
source
$config_file
done
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
()
{
is_plugin
()
{
local
base_dir
=
$1
local
base_dir
=
$1
...
@@ -72,12 +77,6 @@ for plugin ($plugins); do
...
@@ -72,12 +77,6 @@ for plugin ($plugins); do
fi
fi
done
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
# Load the theme
if
[
"
$ZSH_THEME
"
=
"random"
]
;
then
if
[
"
$ZSH_THEME
"
=
"random"
]
;
then
themes
=(
$ZSH
/themes/
*
zsh-theme
)
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