-
Notifications
You must be signed in to change notification settings - Fork 1
/
env
48 lines (37 loc) · 1.23 KB
/
env
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
# Editing
readonly editor=nvim
export EDITOR=$editor
export VISUAL=$editor
# Go
export GOPATH=$HOME/Workspace
export GOROOT=/usr/local/opt/go/libexeca
# Neovim
export XDG_CONFIG_HOME="$HOME/.config/"
# RipGrep
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/rgrc.conf"
# Homebrew Token
export HOMEBREW_GITHUB_API_TOKEN="TOKEN_GOES_HERE"
# Homebrew Cask Install Directory
export HOMEBREW_CASK_OPTS="--appdir=~/Applications"
# No homebrew analytics
export HOMEBREW_NO_ANALYTICS=1
# Skip auto formatting
export SKIP_FORMATTING=true
# Android env variables
readonly lyft_android_sdk="$HOME/.androidbin/lyft-android-sdk/android-sdk-4333796-unarchived/"
readonly default_android_sdk="$HOME/Library/Android/sdk/"
if [ -d "$lyft_android_sdk" ]; then
readonly android_sdk_root="$lyft_android_sdk"
else
readonly android_sdk_root="$default_android_sdk"
fi
readonly ndk_version="21.4.7075529"
export ANDROID_HOME="$android_sdk_root"
export ANDROID_NDK_HOME="$android_sdk_root/ndk/$ndk_version"
export ANDROID_NDK="$android_sdk_root/ndk/$ndk_version"
# Skim https://github.com/lotabout/skim
export SKIM_DEFAULT_COMMAND="fd"
# GPG Agent
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent