add plugins

This commit is contained in:
TheK4n 2022-02-04 16:43:11 +03:00
parent e92917a951
commit 613e28bb5c
5 changed files with 13 additions and 8 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ Session.vim
# local
.vim/bundle/
.subzsh/plugins/

7
.subzsh/plugin Normal file
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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