-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshenv
50 lines (37 loc) · 1.3 KB
/
zshenv
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
export DOTFILES="~/code/dotfiles"
## ZSH
# export ZDOTDIR="$DOTFILES/zsh"
## PATH
export PATH="$HOME/bin:$PATH" # personal tools
export PATH="./bin:$PATH" # project binstubs
export PATH="/Applications/MacVim.app/Contents/bin:$PATH" # enable mvim from terminal
## Editor
export EDITOR=$(which vim)
export VISUAL="$EDITOR"
export BUNDLE_EDITOR="$EDITOR"
export VIMRC="$HOME/.vim/vimrc"
## Pager
export PAGER='less -RM'
## History
export HISTSIZE=10000
export HISTTIMEFORMAT='%F %T '
export HISTCONTROL=ignoredups
export HISTIGNORE="ls:ls -l:ls -al:ls -altr:ll:c:cls:cdd:pwd:gls:gss:reload:vi"
## Directory listing colors
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx # dark backgrounds
# export LSCOLORS=ExFxCxDxBxegedabagacad # light backgrounds
## MySQL
# ARM64 (M1)
export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/opt/openssl@3/lib/
# Intel
# export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
# Character encoding
export LC_CTYPE=UTF-8
# Fix some rails env issues that may occur
export DISABLE_SPRING=true
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
# Enable ripgrep config
export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
# FZF
export FZF_DEFAULT_OPTS_FILE=~/.fzfrc