forked from johnko/homedir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_exports
39 lines (30 loc) · 1.11 KB
/
.bash_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
#!/usr/bin/env bash
# Make vim the default editor
export EDITOR="vim"
# Larger bash history (allow 32³ entries; default is 500)
export HISTSIZE=32768
export HISTFILESIZE=$HISTSIZE
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
export HISTCONTROL=ignoreboth:erasedups
# Make some commands not show up in history
export HISTIGNORE="cd -:pwd:exit:date"
# Prefer US English and use UTF-8
export LANG="en_US"
export LC_ALL="en_US.UTF-8"
# Highlight section titles in manual pages
export LESS_TERMCAP_md="$ORANGE"
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -erX"
export GIT_PAGER="less -erX"
export LESS="-erX"
# Always enable colored `grep` output
# This is deprecated, so we comment it out
#export GREP_OPTIONS="--color=auto"
# colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# MacOSX
# export SSL_CERT_FILE="/etc/ssl/certs/cacert.pem"
# export REQUESTS_CA_BUNDLE=$SSL_CERT_FILE
# export CURL_CA_BUNDLE=$SSL_CERT_FILE
# export AWS_CA_BUNDLE=$SSL_CERT_FILE