27 lines
1.2 KiB
Bash
27 lines
1.2 KiB
Bash
# vim: set ft=sh:
|
|
|
|
# uncomment for profiling
|
|
# zmodload zsh/zprof
|
|
source ~/.shell/source/path.sh
|
|
|
|
[[ ! -d ~/.zsh ]] && mkdir ~/.zsh
|
|
[[ ! -d ~/.zsh/myzsh ]] && git clone https://github.com/jcosmao/myzsh.git ~/.zsh/myzsh
|
|
[[ ! -d ~/.zsh/blox-zsh-theme ]] && git clone https://github.com/jcosmao/blox-zsh-theme.git ~/.zsh/blox-zsh-theme
|
|
[[ ! -d ~/.zsh/zsh-syntax-highlighting ]] && git clone https://github.com/jcosmao/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting
|
|
[[ ! -d ~/.zsh/zsh-bash-completions-fallback ]] && git clone https://github.com/jcosmao/zsh-bash-completions-fallback.git ~/.zsh/zsh-bash-completions-fallback
|
|
|
|
fpath=(~/.zsh/myzsh/lib ~/.zsh/myzsh/plugins/wd ~/.zsh/zsh-syntax-highlighting ~/.shell/completions $fpath)
|
|
|
|
for l in $(ls ~/.zsh/myzsh/lib/); do source ~/.zsh/myzsh/lib/$l; done
|
|
for f in $(find ~/.shell/ -name '*.zsh'); do source $f; done
|
|
source ~/.zsh/myzsh/plugins/wd/*.zsh
|
|
source ~/.zsh/blox-zsh-theme/blox.zsh
|
|
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
source ~/.zsh/zsh-bash-completions-fallback/zsh-bash-completions-fallback.plugin.zsh
|
|
|
|
# uncomment for profiling
|
|
# zprof
|
|
|
|
autoload -U +X bashcompinit && bashcompinit
|
|
complete -o nospace -C /home/jcosmao/go/bin/terraform terraform
|