forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exports
83 lines (53 loc) · 1.8 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
82
#!/usr/bin/env bash
# Editor
export GET_EDITOR='vim'
# Prefer US English and use UTF-8
export LANG='en_US.UTF-8'
export LC_ALL='en_US.UTF-8'
# Use `ls` colors in macOS
export CLICOLOR=1
# Stop macOS from telling me to use zsh
export BASH_SILENCE_DEPRECATION_WARNING=1
# Man pages
# Setup less pager for man pages
# -X Don't clear screen after quitting a man page
# -s Squeeze/consolidate blank lines
# -M +Gg Additional info (i.e. percentage)
# https://stackoverflow.com/a/19871578/1585841
export MANPAGER='less -s -M -X +Gg'
# Highlight section titles in manual pages
# https://unix.stackexchange.com/a/108840/272465
yellow=$'\E[01;33m'
export LESS_TERMCAP_md="${yellow}"
# History
# Allow 32^3 entries; the default is 500
export HISTSIZE='32768'
export HISTFILESIZE="${HISTSIZE}"
# Omit duplicates and leading spaces, i.e `ignorespace:erasedups`
export HISTCONTROL='ignoreboth'
# Node REPL
# Enable persistent REPL history
export NODE_REPL_HISTORY="${HOME}/.node_history"
# Allow 32^3 entries, the default is 1000
export NODE_REPL_HISTORY_SIZE='32768'
# Deno with TLS proxies
export DENO_TLS_CA_STORE="system"
# PATH
# Golang
export GOROOT='/usr/local/go'
export PATH="$PATH:/usr/local/go/bin"
# Rust lang
export PATH="$HOME/.cargo/bin:$PATH"
# Brew python
#export PATH="/opt/homebrew/opt/[email protected]/libexec/bin:$PATH"
# macOS python3
export PATH="/Users/gabriel.vivas/Library/Python/3.9/bin:$PATH"
# subl command
export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"
# Java blah blah
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include"
# Groovy groovy
export GROOVY_HOME=/opt/homebrew/opt/groovy/libexec
# My bin helpers
export PATH="$HOME/.bin:$PATH"