-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
65 lines (50 loc) · 1.21 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
export ZSH=~/.oh-my-zsh
export EDITOR="code -w"
printf '\n%.0s' {1..100}
ZSH_THEME=minimal
# Enable autocorrection
ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Add wisely, as too many plugins slow down shell startup.
plugins=(
asdf
rake
git
docker
npm
rails
brew
zsh-z
bundler
ruby
macos
jsontools
node
pip
web-search
zsh-autosuggestions
colored-man-pages
colorize
common-aliases
copyfile
)
source $ZSH/oh-my-zsh.sh
# My useful aliases
alias c="clear"
alias q="exit"
alias gs="git status"
alias gpr='git pull --rebase'
local ret_status="%(?:%{$fg[yellow]%}=> :%{$fg[red]%}=> %s)"
export ASDF_GEM_DEFAULT_PACKAGES_FILE=~/dotFiles/.default-gems
export ASDF_NPM_DEFAULT_PACKAGES_FILE=~/dotFiles/.default-npm-packages
bindkey -v
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export PATH="$(yarn global bin):/opt/homebrew/bin:$PATH"
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
export DENO_INSTALL="~/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
# bun completions
[ -s "~/.bun/_bun" ] && source "~/.bun/_bun"