2019-05-16 21:13:08 +02:00
|
|
|
#+TITLE: ZSH Config
|
|
|
|
:DRAWER:
|
2020-01-11 22:04:28 +01:00
|
|
|
#+STARTUP: overview
|
|
|
|
|
|
|
|
#+LANGUAGE: en
|
|
|
|
#+EMAIL: dehaeze.thomas@gmail.com
|
|
|
|
#+AUTHOR: Dehaeze Thomas
|
|
|
|
|
|
|
|
#+HTML_LINK_HOME: ./index.html
|
|
|
|
#+HTML_LINK_UP: ./index.html
|
|
|
|
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/htmlize.css"/>
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/readtheorg.css"/>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/jquery.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/bootstrap.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/jquery.stickytableheaders.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/readtheorg.js"></script>
|
|
|
|
|
2019-05-16 21:13:08 +02:00
|
|
|
#+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
|