-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
53 lines (40 loc) · 983 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
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/zsh -i
autoload -U compinit
compinit
autoload bashcompinit
bashcompinit
# correction
setopt correctall
# prompt
setopt promptsubst
autoload -Uz promptinit
promptinit
prompt grb
alias ll="ls -lG"
alias ls="ls -G"
export HISTSIZE=20000
export TERM=screen-256color
alias ideas="vim ~/.ideas.md"
export EDITOR=nvim
# bindkey -e
alias gs='git status'
alias gci='git commit'
alias grb='git rebase'
alias gco='git checkout'
alias gl='git l'
alias m='git checkout master'
alias vim='nvim'
alias vi='vim'
export DISPLAY=:0
bindkey -v
export KEYTIMEOUT=1
alias bex='bundle exec'
if [[ "$OSTYPE" == "darwin"* ]]; then
. "$(brew --prefix asdf)/libexec/asdf.sh"
. "$(brew --prefix)/share/zsh/site-functions"
export PATH="/usr/local/sbin:$PATH"
export HOMEBREW_NO_AUTO_UPDATE=1
export PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin/:$PATH"
source $HOME/.docker/init-zsh.sh || true # Added by Docker Desktop
export PATH="$(brew --prefix sqlite)/bin:$PATH"
fi