-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zprofile
82 lines (70 loc) · 1.67 KB
/
.zprofile
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
#
# Language
#
if [[ -z "$LANG" ]]; then
# export LANG='en_US.UTF-8'
export LANG='ja_JP.UTF-8'
fi
#
# Paths
#
# Ensure path arrays do not contain duplicates.
typeset -gU cdpath fpath mailpath path
# Set the list of directories that Zsh searches for programs.
path=(
/usr/local/{bin,sbin}
$path
)
#
# Less
#
#default# export LESS='-F -g -i -M -R -S -w -X -z-4'
export LESS="-iMRS"
#
# Temporary Files
#
if [[ ! -d "$TMPDIR" ]]; then
export TMPDIR="/tmp/$LOGNAME"
mkdir -p -m 700 "$TMPDIR"
fi
TMPPREFIX="${TMPDIR%/}/zsh"
#
# PATH
#
if [ -d /opt/homebrew ]; then
export PATH=/opt/homebrew/bin:$PATH
fi
export PATH=$PATH:/usr/local/sbin
export PATH=$PATH:~/.mix/escripts # elixir, erlang
export PATH=$PATH:~/Library/Python/2.7/bin
export PATH=$PATH:~/lib/flutter/bin
# export GOPATH=$HOME/go
export GOPATH=$HOME/repo
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:~/.sh/commands
# export PATH=$PATH:/usr/local/opt/awscli@1/bin # aws v2 で問題なさそうなことが確認できたら消す
#
# LS_COLORS
#
dircolors_path="$HOME/.sh/lib/seebi/dircolors-solarized/dircolors.ansi-universal"
if [ -f $dircolors_path ]; then
eval $(gdircolors $dircolors_path)
fi
#
# Editors
#
export EDITOR='vim'
export VISUAL='vim'
export PAGER='less'
#
# Others
#
export DISPLAY=':0.0'
export ERL_AFLAGS='-kernel shell_history enabled' # elixir iex
export RIPGREP_CONFIG_PATH="$HOME/.ripgreprc"
# export CLOUDSDK_PYTHON=~/.anyenv/envs/pyenv/shims/python2 # ref. https://github.com/GoogleCloudPlatform/gsutil/issues/961
export AWS_PAGER=""
export ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX=YES
export LIMA_INSTANCE=docker
export RUBY_CONFIGURE_OPTS=--enable-yjit
export ECSPRESSO_FILTER_COMMAND=peco