Skip to content
/ dots Public template

Commit

Permalink
Add .exports
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmichel committed Mar 11, 2017
1 parent e6a7d5b commit dc29301
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .exports
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)

0 comments on commit dc29301

Please sign in to comment.