add plugins
This commit is contained in:
parent
e92917a951
commit
613e28bb5c
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@ Session.vim
|
|||||||
# local
|
# local
|
||||||
|
|
||||||
.vim/bundle/
|
.vim/bundle/
|
||||||
|
.subzsh/plugins/
|
||||||
|
|||||||
7
.subzsh/plugin
Normal file
7
.subzsh/plugin
Normal 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
|
||||||
@ -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
|
|
||||||
@ -8,7 +8,7 @@ so "$HOME"/.subzsh/completion
|
|||||||
so "$HOME"/.subzsh/history
|
so "$HOME"/.subzsh/history
|
||||||
so "$HOME"/.subzsh/prompt
|
so "$HOME"/.subzsh/prompt
|
||||||
so "$HOME"/.subzsh/other
|
so "$HOME"/.subzsh/other
|
||||||
so "$HOME"/.subzsh/plugins
|
so "$HOME"/.subzsh/plugin
|
||||||
|
|
||||||
so "$HOME"/.subbash/aliases
|
so "$HOME"/.subbash/aliases
|
||||||
so "$HOME"/.subbash/export
|
so "$HOME"/.subbash/export
|
||||||
|
|||||||
4
Makefile
4
Makefile
@ -19,6 +19,10 @@ bash:
|
|||||||
zsh:
|
zsh:
|
||||||
ln -s $(PWD)/.subzsh ~ || true
|
ln -s $(PWD)/.subzsh ~ || true
|
||||||
ln -s $(PWD)/.zshrc ~ || 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:
|
tmux:
|
||||||
ln -s $(PWD)/.tmux.conf ~ || true
|
ln -s $(PWD)/.tmux.conf ~ || true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user