-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
50 lines (40 loc) · 1.08 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
47
48
49
50
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="hyper-oh-my-zsh"
# Uncomment the following line to change how often to auto-update (in days).
zstyle ':omz:update' frequency 9
ENABLE_CORRECTION="true"
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git
zsh-navigation-tools
archlinux
zsh-syntax-highlighting
zsh-autosuggestions
)
source ~/.profile
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
export LANG=en_US.UTF-8
export EDITOR="vim"
export ARCHFLAGS="-arch x86_64"
# custom functions
fs() {
grep -Ril $1 $2
}
s() {
grep -Rnw $2 -e $1
}
# custom aliases
alias v="nvim"
alias vi="nvim"
alias vim="nvim"
alias zshconfig="mate ~/.zshrc"
alias ohmyzsh="mate ~/.oh-my-zsh"