-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
40 lines (30 loc) · 797 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
32
33
34
35
36
37
38
39
40
# Enable Powerlevel10k instant prompt
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.zsh"
# Theme
ZSH_THEME="powerlevel10k/powerlevel10k"
# Case-sensitive completion.
CASE_SENSITIVE="true"
# Custom plugins added to $ZSH_CUSTOM/plugins/
plugins=(
git
vi-mode
zsh-autosuggestions
zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# User configuration
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# Customized prompt
[[ ! -f $ZSH/.p10k.zsh ]] || source $ZSH/.p10k.zsh
# Alias
alias ll='ls -lah'
alias la='ls -A'
alias l='ls'
alias cp='cp -i'
alias mv='mv -i'
alias g='git'
alias cl='clear'