mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Attempt to install omz as a site function instead.
This commit is contained in:
parent
6705ec98ca
commit
e7acbeada5
3 changed files with 2 additions and 39 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
# Initializes Oh My Zsh
|
# Initializes Oh My Zsh
|
||||||
|
oh-my-zsh() {
|
||||||
ZSH=${ZSH:-/usr/share/oh-my-zsh}
|
ZSH=${ZSH:-/usr/share/oh-my-zsh}
|
||||||
OMZ=${OMZ:-$HOME/.omz}
|
OMZ=${OMZ:-$HOME/.omz}
|
||||||
|
|
||||||
|
|
@ -47,3 +48,4 @@ done
|
||||||
local theme
|
local theme
|
||||||
zstyle -a :omz:style theme theme
|
zstyle -a :omz:style theme theme
|
||||||
set_theme $theme
|
set_theme $theme
|
||||||
|
}
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
ZSH=/usr/share/oh-my-zsh
|
|
||||||
|
|
||||||
zstyle :omz:style theme "arch-blue"
|
|
||||||
|
|
||||||
plugins=(archlinux sprunge)
|
|
||||||
|
|
||||||
omz_init() {
|
|
||||||
source $ZSH/oh-my-zsh.zsh
|
|
||||||
}
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
# Path to your oh-my-zsh configuration.
|
|
||||||
ZSH=$HOME/.oh-my-zsh
|
|
||||||
|
|
||||||
# Set to this to use case-sensitive completion
|
|
||||||
# CASE_SENSITIVE="true"
|
|
||||||
|
|
||||||
# Comment this out to disable weekly auto-update checks
|
|
||||||
# DISABLE_AUTO_UPDATE="true"
|
|
||||||
|
|
||||||
# Uncomment following line if you want to disable colors in ls
|
|
||||||
# DISABLE_LS_COLORS="true"
|
|
||||||
|
|
||||||
# Uncomment following line if you want to disable autosetting terminal title.
|
|
||||||
# DISABLE_AUTO_TITLE="true"
|
|
||||||
|
|
||||||
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
|
||||||
# COMPLETION_WAITING_DOTS="true"
|
|
||||||
|
|
||||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
|
||||||
plugins=(git)
|
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.zsh
|
|
||||||
|
|
||||||
# Load a theme
|
|
||||||
# Look in $ZSH/themes/
|
|
||||||
set_theme "robbyrussell"
|
|
||||||
# random_theme
|
|
||||||
|
|
||||||
# Customize to your needs...
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue