-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.bash_exports
50 lines (40 loc) · 1.47 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
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env bash
# Make vim the default editor
export EDITOR="vim"
# Larger bash history https://www.soberkoder.com/better-zsh-history/
export HISTSIZE=1000000000
export HISTFILESIZE=$HISTSIZE
# Immediate append
type setopt &>/dev/null && setopt INC_APPEND_HISTORY
export HISTTIMEFORMAT="[%F %T] "
# Timestamp history
type setopt &>/dev/null && setopt EXTENDED_HISTORY
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
export HISTCONTROL=ignoreboth:erasedups
# skip duplicates in reverse step
type setopt &>/dev/null && setopt HIST_FIND_NO_DUPS
# ignore dupes
type setopt &>/dev/null && setopt HIST_IGNORE_ALL_DUPS
# 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'
export FX_NO_MOUSE=true
# 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