-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
82 lines (61 loc) · 1.79 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
export ZSH="${HOME}/.oh-my-zsh"
ZSH_THEME="bo"
# Uncomment the following line to disable bi-weekly auto-update checks.
DISABLE_AUTO_UPDATE="true"
# Uncomment the following line if pasting URLs and other text is messed up.
DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# Caution: this setting can cause issues with multiline prompts (zsh 5.7.1 and newer seem to work)
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
DISABLE_UNTRACKED_FILES_DIRTY="true"
# fuck any other timestamp format
HIST_STAMPS="yyyy-mm-dd"
ZSH_CUSTOM=~/.oh-my-zsh-custom
plugins=(
shrink-path
zsh-syntax-highlighting
fzf
pass
)
# i love history
HISTSIZE=500000
SAVEHIST=100000
# source oh-my-zsh
source $ZSH/oh-my-zsh.sh
# set default editor, use nvim if it's installed, otherwise use vim
if type nvim >/dev/null 2>&1; then
export EDITOR=nvim
export VISUAL=nvim
else
export EDITOR=vim
export VISUAL=vim
fi
# old ls colors from way back when
LSCOLORS=exfxcxdxbxGxDxabagacad
# reasonable aws pager
export PAGER="less -FRX"
export AWS_PAGER="less -FRX"
# fix colors
export TERM=xterm-256color
if [[ -d $HOME/.local/bin ]]; then
export PATH="$HOME/.local/bin:$PATH"
fi
if [[ -d $HOME/go/bin ]]; then
export PATH="$HOME/go/bin:$PATH"
fi
if [[ -d $HOME/.pulumi/bin ]]; then
export PATH="$HOME/.pulumi/bin:$PATH"
fi
if [[ -d /usr/local/go/bin ]]; then
export PATH="/usr/local/go/bin:$PATH"
fi
# set locale for 24 hour time
export LC_TIME=C.UTF-8
# i am weak
alias vim=nvim
# correct date format for things like ls
export TIME_STYLE=long-iso