|
@@ -6,14 +6,35 @@
|
|
|
# but WITHOUT ANY WARRANTY
|
|
|
#
|
|
|
|
|
|
-# Define personal zsh config directory
|
|
|
-export ZSHDOTDIR="${HOME}/.zsh"
|
|
|
+source ~/.zplug/init.zsh
|
|
|
|
|
|
-# Include custom configuration
|
|
|
-for f in ${ZSHDOTDIR}/config/*.zsh; do
|
|
|
- if [[ -r "${f}" ]]; then
|
|
|
- . "${f}"
|
|
|
- fi
|
|
|
-done
|
|
|
+export ZSHDOTDIR=~/.zsh
|
|
|
|
|
|
-unset ZSHDOTDIR
|
|
|
+zplug "modules/archive", from:prezto
|
|
|
+zplug "modules/completion", from:prezto
|
|
|
+zplug "modules/directory", from:prezto
|
|
|
+zplug "modules/dpkg", from:prezto
|
|
|
+zplug "modules/editor", from:prezto
|
|
|
+zplug "modules/environment", from:prezto
|
|
|
+zplug "modules/terminal", from:prezto
|
|
|
+zplug "modules/editor", from:prezto
|
|
|
+zplug "modules/git", from:prezto
|
|
|
+zplug "modules/history", from:prezto
|
|
|
+zplug "modules/directory", from:prezto
|
|
|
+zplug "modules/spectrum", from:prezto
|
|
|
+zplug "modules/rsync", from:prezto
|
|
|
+zplug "modules/tmux", from:prezto
|
|
|
+zplug "modules/syntax-highlighting", from:prezto, defer:2
|
|
|
+zplug "modules/history-substring-search", from:prezto
|
|
|
+zplug "mafredri/zsh-async"
|
|
|
+zplug "k0lter/zsh-themes", as:theme
|
|
|
+
|
|
|
+if [[ -d "${ZSHDOTDIR}/config" ]]; then
|
|
|
+ zplug "${ZSHDOTDIR}/config", from:local, defer:1
|
|
|
+fi
|
|
|
+
|
|
|
+if ! zplug check --verbose; then
|
|
|
+ zplug install
|
|
|
+fi
|
|
|
+
|
|
|
+zplug load
|