mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
version 0.1 from current upstream project https://github.com/mbauhardt/oh-my-zsh-bootstrap
This commit is contained in:
parent
f8f01262ab
commit
488e40604e
5 changed files with 215 additions and 0 deletions
21
plugins/oh-my-zsh-bootstrap/oh-my-zsh-bootstrap.plugin.zsh
Normal file
21
plugins/oh-my-zsh-bootstrap/oh-my-zsh-bootstrap.plugin.zsh
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
_load_bootstrap() {
|
||||
export ZSH_BOOTSTRAP=$1
|
||||
source $ZSH_BOOTSTRAP/lib/map.zsh
|
||||
source $ZSH_BOOTSTRAP/lib/repository.zsh
|
||||
source $ZSH_BOOTSTRAP/lib/download.zsh
|
||||
}
|
||||
|
||||
[[ -f $ZSH_CUSTOM/plugins/oh-my-zsh-bootstrap/oh-my-zsh-bootstrap.plugin.zsh ]] && _load_bootstrap $ZSH_CUSTOM/plugins/oh-my-zsh-bootstrap
|
||||
[[ -f $ZSH/plugins/oh-my-zsh-bootstrap/oh-my-zsh-bootstrap.plugin.zsh ]] && _load_bootstrap $ZSH/plugins/oh-my-zsh-bootstrap
|
||||
|
||||
|
||||
alias list_plugins="_list_plugins|less"
|
||||
alias list_themes="_list_themes|less"
|
||||
alias download_and_enable_plugin="_download_plugin"
|
||||
alias download_and_enable_theme="_download_theme"
|
||||
alias list_enabled_plugins="_list_enabled_plugins"
|
||||
alias enable_plugin="_enable_plugin"
|
||||
alias enable_theme="_enable_theme"
|
||||
alias disable_plugin="_disable_plugin"
|
||||
alias update_plugin="_udpate_plugin"
|
||||
alias update_theme="_update_theme"
|
||||
Loading…
Add table
Add a link
Reference in a new issue