mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
switch to zplug
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +1,6 @@
|
||||
[submodule "base16-shell"]
|
||||
path = base16-shell
|
||||
url = git@github.com:chriskempson/base16-shell.git
|
||||
[submodule "zplug"]
|
||||
path = zplug
|
||||
url = https://github.com/zplug/zplug
|
||||
|
||||
1
zplug
Submodule
1
zplug
Submodule
Submodule zplug added at 063d26f800
41
zshrc
41
zshrc
@@ -1,28 +1,22 @@
|
||||
# load zgen
|
||||
source "${HOME}/.dotfiles/zgen/zgen.zsh"
|
||||
source ~/.dotfiles/zplug/init.zsh
|
||||
|
||||
if ! zgen saved; then
|
||||
echo "Creating a zgen save"
|
||||
|
||||
zgen oh-my-zsh lib/spectrum.zsh
|
||||
zgen oh-my-zsh lib/directories.zsh
|
||||
zgen oh-my-zsh lib/grep.zsh
|
||||
zgen oh-my-zsh lib/history.zsh
|
||||
zgen oh-my-zsh lib/misc.zsh
|
||||
zgen oh-my-zsh plugins/common-aliases
|
||||
zgen oh-my-zsh plugins/frontend-search
|
||||
zplug "lib/spectrum.zsh", from:oh-my-zsh
|
||||
zplug "lib/directories.zsh", from:oh-my-zsh
|
||||
zplug "lib/grep.zsh", from:oh-my-zsh
|
||||
zplug "lib/history.zsh", from:oh-my-zsh
|
||||
zplug "lib/misc.zsh", from:oh-my-zsh
|
||||
zplug "plugins/common-aliases", from:oh-my-zsh
|
||||
zplug "plugins/frontend-search", from:oh-my-zsh
|
||||
|
||||
zgen load zsh-users/zsh-completions src
|
||||
zgen load zsh-users/zsh-syntax-highlighting
|
||||
zplug "zsh-users/zsh-completions", use:"src/*.zsh"
|
||||
zplug "zsh-users/zsh-syntax-highlighting", defer:2
|
||||
|
||||
zgen load peterhurford/git-it-on.zsh
|
||||
zgen load gerges/oh-my-zsh-jira-plus
|
||||
zplug "peterhurford/git-it-on.zsh"
|
||||
zplug "gerges/oh-my-zsh-jira-plus"
|
||||
|
||||
zgen load mafredri/zsh-async
|
||||
zgen load sindresorhus/pure
|
||||
|
||||
zgen save
|
||||
fi
|
||||
zplug "mafredri/zsh-async"
|
||||
zplug "sindresorhus/pure"
|
||||
|
||||
########################
|
||||
# Other settings
|
||||
@@ -82,3 +76,10 @@ BASE16_SHELL=$HOME/.base16-shell/
|
||||
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
# zplug
|
||||
if ! zplug check; then
|
||||
zplug install
|
||||
fi
|
||||
|
||||
zplug load
|
||||
|
||||
Reference in New Issue
Block a user