소스 검색

Use zplug via git submodule

Kevin 5 년 전
부모
커밋
219a0901a3
3개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      .gitmodules
  2. 1 0
      external/zplug
  3. 2 1
      zshrc

+ 3 - 0
.gitmodules

@@ -10,3 +10,6 @@
 [submodule "external/tpm"]
 	path = external/tpm
 	url = https://github.com/tmux-plugins/tpm.git
+[submodule "external/zplug"]
+	path = external/zplug
+	url = https://github.com/zplug/zplug

+ 1 - 0
external/zplug

@@ -0,0 +1 @@
+Subproject commit c4dea766566b168a32dbfa8d10335e525ce39fcc

+ 2 - 1
zshrc

@@ -3,7 +3,8 @@
 source ~/.zsh_local
 
 # activate plugin manager
-source ~/.zplug/init.zsh
+export ZPLUG_HOME=$HOME/.dotfiles/external/zplug
+source $ZPLUG_HOME/init.zsh
 
 zplug "zsh-users/zsh-history-substring-search"
 zplug "romkatv/powerlevel10k", as:theme, use:"*10k.zsh-theme", depth:1