-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6a7d5b
commit dc29301
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Make Atom Beta the default editor | ||
export EDITOR='atom-beta'; | ||
|
||
# Enable persistent REPL history for `node`. | ||
export NODE_REPL_HISTORY=~/.node_history; | ||
# Allow 32³ entries; the default is 1000. | ||
export NODE_REPL_HISTORY_SIZE='32768'; | ||
# Use sloppy mode by default, matching web browsers. | ||
export NODE_REPL_MODE='sloppy'; | ||
|
||
# Make Python use UTF-8 encoding for output to stdin, stdout, and stderr. | ||
export PYTHONIOENCODING='UTF-8'; | ||
|
||
# Larger bash history (allow 32³ entries; default is 500) | ||
export HISTSIZE='32768'; | ||
export HISTFILESIZE=${HISTSIZE}; | ||
export HISTCONTROL='ignoreboth'; | ||
# Make some commands not show up in history | ||
export HISTIGNORE='ls:cd:cd -:pwd:exit:date:* --help'; | ||
|
||
# Save each command right after it has been executed, not at the end of the session. Makes sessions across tabs share history | ||
export PROMPT_COMMAND='history -a; history -r'; | ||
|
||
# Prefer US English and use UTF-8 | ||
export LANG='en_US.UTF-8'; | ||
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 -X'; | ||
|
||
# http://stackoverflow.com/a/1348940/269703 | ||
export JAVA_HOME=$(/usr/libexec/java_home) |