-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshenv
62 lines (52 loc) · 1.27 KB
/
dot_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
51
52
53
54
55
56
57
58
59
60
61
62
export DOTFILES_PATH="$HOME"
export GOPATH="$HOME/.go"
export GEM_HOME=$HOME/gems
#default editor env var
export EDITOR="nvim"
export VISUAL="nvim"
#z history
export HISTFILE="$ZDOTDIR/.zhistory"
export HISTSIZE=10000 # Maximum events for internal history
export SAVEHIST=10000 # Maximum events in history file
# default fzf config
export FZF_DEFAULT_COMMAND='rg --files --hidden --glob "!.git"'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
FZF_COLORS="bg+:-1,\
fg:gray,\
fg+:white,\
border:black,\
spinner:0,\
hl:yellow,\
header:blue,\
info:green,\
pointer:red,\
marker:red,\
prompt:gray,\
hl+:red"
export FZF_DEFAULT_OPTS="--height 60% \
--border sharp \
--color='$FZF_COLORS' \
--prompt '∷ ' \
--pointer ▶ \
--marker ⇒"
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -n 10'"
export FZF_DEFAULT_OPTS='
--color=pointer:#ebdbb2,bg+:#3c3836,fg:#ebdbb2,fg+:#fbf1c7,hl:#8ec07c,info:#928374,header:#fb4934
--reverse'
export path=(
"$HOME/gems/bin"
"$JAVA_HOME/bin"
"$GOPATH/bin"
"$HOME/.cargo/bin"
"$HOME/.jenv/bin"
"/usr/local/opt/python/libexec/bin"
"/usr/local/bin"
"/usr/local/sbin"
"/mnt/c/Windows/system32"
"$HOME/.local/bin"
"$HOME/.npm-global/bin"
"$HOME/.deno/bin"
"/opt/homebrew/bin"
$path
)
export PATH