29 lines
671 B
Org Mode
29 lines
671 B
Org Mode
|
#+TITLE: ZSH Config
|
||
|
:DRAWER:
|
||
|
#+PROPERTY: header-args:conf+ :comments both
|
||
|
#+PROPERTY: header-args:conf+ :mkdirp yes
|
||
|
#+PROPERTY: header-args:conf+ :tangle ~/.zshrc
|
||
|
:END:
|
||
|
|
||
|
https://github.com/unixorn/awesome-zsh-plugins
|
||
|
|
||
|
* Zplug
|
||
|
https://github.com/zplug/zplug
|
||
|
#+begin_src conf
|
||
|
source ~/.zplug/init.zsh
|
||
|
|
||
|
zplug mafredri/zsh-async, from:github
|
||
|
zplug sindresorhus/pure, use:pure.zsh, from:github, as:theme
|
||
|
|
||
|
# Install plugins if there are plugins that have not been installed
|
||
|
if ! zplug check --verbose; then
|
||
|
printf "Install? [y/N]: "
|
||
|
if read -q; then
|
||
|
echo; zplug install
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
# Then, source plugins and add commands to $PATH
|
||
|
zplug load --verbose
|
||
|
#+end_src
|