-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
43 lines (31 loc) · 1.1 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
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
# ZSH will check for updates every 5 days
export UPDATE_ZSH_DAYS=5
# Oh My ZSH plugins
plugins=(
git
git-auto-fetch
)
source $ZSH/oh-my-zsh.sh
# Load aliases
source ~/.aliases
# Load autosuggestion installed via Homebrew
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $(brew --prefix)/share/zsh-history-substring-search/zsh-history-substring-search.zsh
# Use the substring history search when looking through commands
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
# Initialize node and ruby
eval "$(nodenv init -)"
eval "$(rbenv init -)"
# Initialize Powerline
. /opt/homebrew/lib/python3.9/site-packages/powerline/bindings/zsh/powerline.zsh
# Ensure GPG can be called from git
export GPG_TTY=$(tty)
# Add installed go binaries to the path
export PATH=$PATH:~/go/bin
# Add default location for my weather app
export WX_QUERY=Patchway