This repository has been archived by the owner on Oct 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
46 lines (38 loc) · 1.42 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
45
46
# Display a banner when logging in as root
if [[ `id -u` -eq 0 ]]; then
RED='\033[0;31m'
NC='\033[0m' # No Color
echo "**********************************************"
echo -e "${RED}You are now loading ZSH as root!${NC}"
echo -e "${RED}PLEASE BE CAREFUL${NC}"
echo "**********************************************"
fi
# Oh My Zsh Configuration
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="powerlevel9k/powerlevel9k"
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git-no-alias)
# User configuration
export ZSH=$HOME/.oh-my-zsh
export ZSH_CONF_HOME=$HOME/zshfiles
# User Files
source $HOME/.oh-my-zsh/oh-my-zsh.sh
for config_file in $ZSH_CONF_HOME/*.zsh
do
# source $ZSH_CONF_HOME/zshfiles/env.zsh
# source $ZSH_CONF_HOME/keybind.zsh
# source $ZSH_CONF_HOME/completions.zsh
# source $ZSH_CONF_HOME/functions.zsh
# source $ZSH_CONF_HOME/aliases.zsh
source $config_file;
done
systemctl --user import-environment PATH
# End of User Files