forked from LandonSchropp/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
65 lines (56 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# BUG FIX: tmuxinator mangles the $GEM_HOME environment variable. This is a quick and dirty fix.
# https://github.com/tmuxinator/tmuxinator/issues/841
unset GEM_HOME
# Set the path to Oh My Zsh.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load.
ZSH_THEME="landon"
# Oh My Zsh settings
DISABLE_UPDATE_PROMPT="true"
DISABLE_AUTO_TITLE="true"
ENABLE_CORRECTION="true"
# Oh My Zsh plugins
plugins=(
alias-finder
brew
bundler
colored-man-pages
command-not-found
direnv
docker
docker-compose
git
github
httpie
iterm2
kubectl
node
npm
nvm
macos
postgres
pyenv
python
rails
rake
rbenv
ripgrep
ruby
tmux
yarn
zsh-autosuggestions
zsh-syntax-highlighting
)
# Source Oh My Zsh
source $ZSH/oh-my-zsh.sh
# Enable source highlighting in less.
export LESSOPEN="| $(brew --prefix)/bin/src-hilite-lesspipe.sh %s"
export LESS=" -R "
# Make bat readable on a light terminal.
export BAT_THEME="ansi-dark"
# Source the configuration files
for CONFIG_FILE in $HOME/.config/zsh/*; do
source $CONFIG_FILE
done
# Disable autocorrect
unsetopt correct_all