-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exports
81 lines (64 loc) · 2.06 KB
/
.exports
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
#!/usr/bin/env bash
# Set the default editor.
if command -v nano &>/dev/null; then
export EDITOR="nano"
elif command -v nvim &>/dev/null; then
export EDITOR="nvim"
elif command -v vim &>/dev/null; then
export EDITOR="vim"
elif command -v vi &>/dev/null; then
export EDITOR="vi"
fi
# Add uutils to $PATH
if [[ -s "/opt/homebrew/opt/uutils-coreutils" ]]; then
PATH="/opt/homebrew/opt/uutils-coreutils/libexec/uubin:$PATH"
fi
if [[ -s "/opt/homebrew/opt/uutils-diffutils" ]]; then
PATH="/opt/homebrew/opt/uutils-diffutils/libexec/uubin:$PATH"
fi
if [[ -s "/opt/homebrew/opt/uutils-findutils" ]]; then
PATH="/opt/homebrew/opt/uutils-findutils/libexec/uubin:$PATH"
fi
# Add GNU sed to $PATH
if [[ -s "/usr/local/opt/gnu-sed/libexec/gnubin" ]]; then
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
fi
# Add XDG binaries to $PATH
if [[ -s "${HOME}/.local/bin" ]]; then
export PATH="$HOME/.local/bin:$PATH"
fi
# Add dotfiles bin to $PATH
if [[ -s "${HOME}/Code//bin" ]]; then
export PATH="$HOME/Code/bin:$PATH"
fi
# Add asdf to $PATH
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
# Add LM Studio to $PATH
if [[ -s "${HOME}/.lmstudio/bin" ]]; then
export PATH="$PATH:$HOME/.lmstudio/bin"
fi
# Ensure MacGPG is loaded before brew's gnupg
if [[ -f "/usr/local/MacGPG2/bin/gpg" ]]; then
export PATH=/usr/local/MacGPG2/bin:$PATH
fi
# Add snap to $PATH
if [[ -s "/snap/bin" ]]; then
export PATH="/snap/bin:$PATH"
fi
# Make Python use UTF-8 encoding for output to stdin, stdout, and stderr.
export PYTHONIOENCODING='UTF-8'
# Prefer US English and use UTF-8.
export LC_CTYPE="en_US.UTF-8"
export LC_ALL='en_US.UTF-8'
# Don’t clear the screen after quitting a manual page.
export MANPAGER='less --no-init'
# Hide Homebrew hints
export HOMEBREW_NO_ENV_HINTS=1
# Don't use insecure redirects
export HOMEBREW_NO_INSECURE_REDIRECTS=1
# Should work for both light and dark
export BAT_THEME="Solarized (light)"
# Allow gcloud cli to use site-packages
export CLOUDSDK_PYTHON_SITEPACKAGES=1
# Allow 1Password biometric unlock
export OP_BIOMETRIC_UNLOCK_ENABLED=true