diff --git a/.gitignore b/.gitignore index 7b6f80e..2086932 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ Session.vim # local .vim/bundle/ +.subzsh/plugins/ diff --git a/.subzsh/plugin b/.subzsh/plugin new file mode 100644 index 0000000..240d9b1 --- /dev/null +++ b/.subzsh/plugin @@ -0,0 +1,7 @@ +so () { + [ -f "$1" ] && source "$1" +} + + +so ~/.subzsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +so ~/.subzsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh diff --git a/.subzsh/plugins b/.subzsh/plugins deleted file mode 100644 index a8f78bd..0000000 --- a/.subzsh/plugins +++ /dev/null @@ -1,7 +0,0 @@ -so () { - [ -f "$1" ] && source "$1" -} - - -so /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -so /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh diff --git a/.subzsh/sourcer b/.subzsh/sourcer index e05b849..770ced5 100644 --- a/.subzsh/sourcer +++ b/.subzsh/sourcer @@ -8,7 +8,7 @@ so "$HOME"/.subzsh/completion so "$HOME"/.subzsh/history so "$HOME"/.subzsh/prompt so "$HOME"/.subzsh/other -so "$HOME"/.subzsh/plugins +so "$HOME"/.subzsh/plugin so "$HOME"/.subbash/aliases so "$HOME"/.subbash/export diff --git a/Makefile b/Makefile index 7659e04..0eb8134 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,10 @@ bash: zsh: ln -s $(PWD)/.subzsh ~ || true ln -s $(PWD)/.zshrc ~ || true + mkdir ~/.subzsh/plugins || true + git clone https://github.com/zsh-users/zsh-autosuggestions ~/.subzsh/plugins/zsh-autosuggestions || true + git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.subzsh/plugins/zsh-syntax-highlighting + tmux: ln -s $(PWD)/.tmux.conf ~ || true