forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exports
31 lines (25 loc) · 1011 Bytes
/
.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
# Set the default editor
if [ -f /usr/local/bin/subl ]; then
export EDITOR='subl -w'
elif [ -f /usr/local/bin/mate ]; then
export EDITOR='mate'
export GIT_EDITOR='mate -wl1'
else
export EDITOR="vim"
fi
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X"
# Highlight section titles in manual pages
export LESS_TERMCAP_md="$ORANGE"
export HISTCONTROL=ignoredups:erasedups # no duplicate entries
export HISTSIZE=100000 # big big history
export HISTFILESIZE=100000 # big big history
shopt -s histappend # append to history, don't overwrite it
# Save and reload the history after each command finishes
export PROMPT_COMMAND="history -a; history -c; history -r; echo -ne \"\033]0;${USER}@${HOSTNAME}\007\"; $PROMPT_COMMAND"
# Fix psycopg2 on 10.7.3
export PGHOST=/tmp
# no ._ files in archives please
export COPYFILE_DISABLE=true
export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH
export TZ='Europe/Brussels'