-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_exports
More file actions
56 lines (46 loc) · 1.48 KB
/
_exports
File metadata and controls
56 lines (46 loc) · 1.48 KB
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
#!/usr/bin/env bash
### .exports - public global env vars
# shellcheck source=/dev/null
export TXTAPP=vi
# misc
export BASH_SILENCE_DEPRECATION_WARNING=1
export BUNDLER_EDITOR=${TXTAPP}
export CLICOLOR=1
export CODE="${HOME}/Code"
export COLORIZE=1
export COMPOSE_HTTP_TIMEOUT=300 # docker-compose increase timeout
export EDITOR=${TXTAPP}
export GEMEDITOR=${TXTAPP}
export HTTP_SERVICES="httpd\|vpnkit\|java\|nc\|node\|ng\|php\|ruby\|hugo\|docker\|com.docker\|com.docke"
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
export PROMPT_COMMAND='printf "\e]0;bash\7"' # fix prompt post-ssh
# bash history
export HISTCONTROL=ignoreboth
export HISTFILESIZE=2000
export HISTSIZE=1001
export HISTTIMEFORMAT='%F %T %t'
# crystal
export CRYSTAL_OPTS="--link-flags=-Wl"
# go
export GOPATH="${CODE}/go"
export GOBIN="${GOPATH}/bin"
export GOROOT="/opt/homebrew/opt/go/libexec"
# git
export GIT_PS1_SHOWCOLORHINTS=1
export GIT_PS1_SHOWDIRTYSTATE=1
export GIT_PS1_SHOWSTASHSTATE=1
export GIT_PS1_SHOWUNTRACKEDFILES=1
export GIT_PS1_SHOWUPSTREAM="verbose name"
# node
export NODE_PATH="${HOME}/.npm"
export NODE_PATH=${NODE_PATH}:/usr/local/lib/node_modules
export NODE_OPTIONS="--dns-result-order=ipv4first"
# pnpm
export PNPM_HOME="/Users/mchadwick/Library/pnpm"
case ":${PATH}:" in
*":${PNPM_HOME}:"*) ;;
*) export PATH="${PNPM_HOME}:${PATH}" ;;
esac
##########################################################
# load private, non-tracked, exports
if [[ -f "${HOME}"/.exports_priv ]]; then source "${HOME}"/.exports_priv; fi