-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexports.sh
53 lines (43 loc) · 1.47 KB
/
exports.sh
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
# _
# _____ ___ __ ___ _ __| |_ ___
# / _ \ \/ / '_ \ / _ \| '__| __/ __|
# | __/> <| |_) | (_) | | | |_\__ \
# \___/_/\_\ .__/ \___/|_| \__|___/
# |_|
# Path ############
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/bin:$PATH"
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
export SSH_KEY_PATH="~/.ssh/id_rsa"
export DOTFILE_DIR=$(dirname "$0")
export PROJECT_HOME="$HOME/src"
# Locale ##########
# Prefer US English
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
# History ######### http://jorge.fbarr.net/2011/03/24/making-your-bash-history-more-efficient/
# Larger bash history (allow 32³ entries; default is 500)
export HISTSIZE=32768
export HISTFILESIZE=$HISTSIZE
# don't put duplicate lines in the history.
export HISTCONTROL=ignoredups
# ignore same successive entries.
export HISTCONTROL=ignoreboth
# Make some commands not show up in history
export HISTIGNORE="h:ls:ls *:ll:ll *:"
# Colorize LS ##### http://geoff.greer.fm/lscolors/
export CLICOLOR=1
# Describes what color to use for which attribute (files, folders etc.)
export LSCOLORS=exfxcxdxbxegedabagacad
# Compilation flags
# export ARCHFLAGS="-arch x86_64
# export MANPATH="/usr/local/man:$MANPATH"
export GPG_TTY=$(tty)
# Fixes for Rails bugs on ARM Macs https://github.com/rails/rails/issues/38560
export DISABLE_SPRING=true
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES