-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
61 lines (45 loc) · 1.22 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
### Homebrew
eval $(/opt/homebrew/bin/brew shellenv)
### Zsh completion (Homebrew)
export FPATH="${HOMEBREW_PREFIX}/share/zsh/site-functions:${FPATH}"
### anyenv (deprecated)
# eval "$(anyenv init -)"
# proto
export PROTO_HOME="$HOME/.proto"
export PATH="$PROTO_HOME/shims:$PROTO_HOME/bin:$PATH"
# mise
eval "$(mise activate zsh)"
### go
export GOBIN="$HOME/go/bin"
export PATH="$GOBIN:$PATH"
### .NET Core
export PATH="$PATH:/usr/local/share/dotnet/dotnet"
export PATH="$PATH:${HOME}/.dotnet/tools"
### Rust
export PATH="${HOME}/.cargo/bin:${PATH}"
### Flutter
export FLUTTER_ROOT="$(mise where flutter)"
### Local Binaries
### (e.g. JetBrains IDEs, git subcommands)
export PATH="$PATH:${HOME}/.local/bin"
### aws-vault
export AWS_ASSUME_ROLE_TTL=1h
### github.com/x-motemen/ghq
export GHQ_ROOT="${HOME}/repos"
### GnuPG
export GPG_TTY=$(tty)
### Chrome/Firefox debug unpackking TLS/SSL
# export SSLKEYLOGFILE=${HOME}/Desktop/tls_key.log
### docker on lima
# export DOCKER_HOST=unix://$HOME/docker.sock
### source ~/.zshrc.d
local RC_FILE_DIR="${HOME}/.zshrc.d"
if [[ -e $RC_FILE_DIR ]]; then
for RC_FILE in ${RC_FILE_DIR}/*.sh; do
source $RC_FILE
done
fi
### fish
if [[ -o interactive ]]; then
exec fish -il
fi