-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
44 lines (36 loc) · 1.03 KB
/
.zshrc
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
# Locations for various files
ZSH_ROOT=~/.zsh
THEMES=~/.zsh/zplug/repos/chriskempson/base16-shell/scripts
#################### ZPlug ####################
# Set ZPlug home
export ZPLUG_HOME=~/.zsh/zplug
# Init ZPlug
source ~/.zsh/zplug/init.zsh
##### ZPlug Plugins #####
# Let ZPlug manage itself
zplug 'zplug/zplug', hook-build:'zplug --self-manage'
# Base16-Shell Color Theme
zplug chriskempson/base16-shell, from:github, as:theme
# Install plugins if there are plugins that have not been installed
if [[ $(zplug check --verbose) ]]; then
zplug install
fi
# Load zplug packages
zplug load
##### base16-shell #####
# Access colors present in 256 colorspace
let base16colorspace=256
# Load selected theme
source $THEMES/base16-ashes.sh
#################### Zsh User Configuration ####################
# Set editor
export EDITOR='nvim'
# Load user files
declare -a USR_FILES=(
$(ls $ZSH_ROOT/user_files)
)
for file in "${USR_FILES[@]}"; do
source $ZSH_ROOT/user_files/$file
done
# Modify prompt
PS1="%F{magenta}[bryce@%m %1~]%f %# "