-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
31 lines (25 loc) · 844 Bytes
/
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
#!/bin/zsh
#
# ====================================
# Author: Eunchong Kim
# Date: Aug., 2020
# Project: user-settings
# Description: zshrc
# ====================================
#-----------------------------------------------
# Basic
#-----------------------------------------------
# zsh color
export PROMPT="%F{cyan}%n%F{white}@%F{green}%m:%F{yellow}%1~%F{white}$ "
# Display if go shell from vim
[[ -n "$VIMRUNTIME" ]] && PROMPT="(VIM): "${PROMPT}
#-----------------------------------------------
# Include common setting
#-----------------------------------------------
if [ -z "$VIMRUNTIME" ]; then
source $HOME/user-settings/profile_common
fi
#-----------------------------------------------
# Disable share history
#-----------------------------------------------
unsetopt share_history