-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathzgenrc.zsh
55 lines (51 loc) · 1.81 KB
/
zgenrc.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
ZGEN_RESET_ON_CHANGE=( \
${HOME}/.zshrc \
${HOME}/git/pseudo/zpreztorc.zsh \
${HOME}/git/pseudo/zgenrc.zsh \
)
source "${HOME}/.zgen/zgen/zgen.zsh"
if ! zgen saved; then
# We will mostly make use of prezto modules for configuration, see:
# https://github.com/sorin-ionescu/prezto/tree/master/modules
# Go through individual module's README.md to understand these settings
# In prezto order of module initialization is important (yeah, it is)
zgen prezto
zgen prezto environment
# XXX: This module sets up bracketed-paste-url-magic which improves security
# when making copy pasta from the interweb. Don't trust the internet!!1 :lol:
# See: http://cirw.in/blog/bracketed-paste
zgen prezto utility
# "middle" is "sorted"
zgen prezto editor
zgen prezto archive
zgen prezto directory
zgen prezto docker
zgen prezto git
zgen prezto history
#zgen prezto homebrew
zgen prezto node
#zgen prezto osx
zgen prezto python
#zgen prezto spectrum # for colors
#zgen prezto ssh # TODO: setup ssh-agent
#zgen prezto tmux # no need, we have tmux-continuum
# themes: be pure
zgen prezto prompt theme 'pure'
#zgen prezto prompt theme 'powerlevel9k'
#zgen prezto contrib-prompt
#zgen prezto prompt theme 'spaceship'
#zgen load bhilburn/powerlevel9k powerlevel9k next
#zgen load denysdovhan/spaceship-prompt spaceship
# Some non prezto stuff
zgen load djui/alias-tips
zgen load rupa/z
#zgen load psprint/zsh-navigation-tools
#zplug "chrissicool/zsh-256color" # iTerm2 can export TERM="xterm-256color"
#zgen load eventi/noreallyjustfuckingstopalready # See flu.sh() below
# Finally zsh-completions, history-substring-search, and autocompletions
zgen prezto completion
zgen prezto syntax-highlighting
zgen prezto autosuggestions
zgen prezto history-substring-search
zgen save
fi