-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
34 lines (28 loc) · 1.17 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
#---[ Zsh settings ]----------------------------------------------------
# Path to your zsh configuration.
HOSTNAME=$(hostname)
ZSH=$HOME/.zsh
#---[ Exports ]---------------------------------------------------------
source $ZSH/exports.zsh
#---[ Path customization ]----------------------------------------------
export PATH="${HOME}/bin:${HOME}/go/bin:$PATH"
#---[ Load ZSH settings ]-----------------------------------------------
for config_file ($ZSH/conf/*.zsh); do
source $config_file
done
#---[ Antigen ]---------------------------------------------------------
source ${ANTIGENPATH}/antigen.zsh
source ${ZSH}/antigen-modules.zsh
#---[ Cleanup ]---------------------------------------------------------
export LSCOLORS="ExGxFxDxCxDxDxhbhdacEc"
#---[ Welcome the user ]------------------------------------------------
clear
if [ -x /usr/bin/figlet ]; then
echo -e "${lightgrey}";figlet -f small " Welcome, ${USER}"
else
echo -e "\n${cyan}Welcome, ${USER}\n"
fi
echo -e "${red}Host:\t\t\t${cyan} $HOSTNAME";
echo -ne "${red}Today is:\t\t${cyan}" `date`; echo ""
echo -e "${red}Kernel Information: \t${cyan}" `uname -smr`
echo -ne "${red}Uptime is: \t${cyan}";upinfo;echo ""