mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Documentation
This commit is contained in:
parent
dd0bc3db66
commit
b0c78166fa
1 changed files with 8 additions and 5 deletions
|
|
@ -47,20 +47,23 @@ ZSH_THEME="robbyrussell"
|
|||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/available/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/available/
|
||||
# Example format:
|
||||
# plugs=(rails git textmate ruby lighthouse)
|
||||
# customplugs=(custom1 custom2)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
|
||||
plugs=(git)
|
||||
customplugs=(example)
|
||||
|
||||
for i in $plugs; do
|
||||
if [ ! -d "$ZSH/plugins/enable/$i" ]; then
|
||||
ln -s $ZSH/plugins/available/$i/ $ZSH/plugins/enable/git
|
||||
fi
|
||||
done
|
||||
|
||||
custplugs=(example)
|
||||
for i in $custplugs; do
|
||||
for i in $customplugs; do
|
||||
if [ ! -d "$ZSH/custom/plugins/enable/$i" ]; then
|
||||
ln -s $ZSH/custom/plugins/available/$i/ $ZSH/custom/plugins/enable/$i
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue