Migrate from zplug to zim
This commit is contained in:
parent
92bc3d7f21
commit
45678c7037
4 changed files with 51 additions and 1 deletions
16
zshrc
16
zshrc
|
@ -1,3 +1,5 @@
|
|||
typeset -U path
|
||||
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=100000
|
||||
SAVEHIST=100000
|
||||
|
@ -57,7 +59,19 @@ function(){
|
|||
|
||||
. $(zdotfile completion.zsh)
|
||||
|
||||
source $(zdotfile zplug.zsh)
|
||||
|
||||
ZIM_HOME=${XDG_CACHE_HOME:-$HOME/.cache}/zim
|
||||
if [[ ! -e ${ZIM_HOME}/zimfw.zsh ]]; then
|
||||
curl -fsSL --create-dirs -o ${ZIM_HOME}/zimfw.zsh \
|
||||
https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh
|
||||
fi
|
||||
if [[ ! ${ZIM_HOME}/init.zsh -nt ${ZDOTDIR:-${HOME}}/.zimrc ]]; then
|
||||
source ${ZIM_HOME}/zimfw.zsh init -q
|
||||
fi
|
||||
source ${ZIM_HOME}/init.zsh
|
||||
|
||||
|
||||
#source $(zdotfile zplug.zsh)
|
||||
|
||||
. $(zdotfile bindings.zsh)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue