2017-02-27 06:49:09 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-02-27 21:08:11 +00:00
|
|
|
export PATH="$PATH:$HOME:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$DOTFILES_DIR/bin:$HOME/apps"
|
2017-02-27 06:49:09 +00:00
|
|
|
|
|
|
|
# Make vim the default editor.
|
|
|
|
export EDITOR='vim';
|
|
|
|
|
|
|
|
# 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';
|
|
|
|
|
|
|
|
# Increase Bash history size. Allow 32³ entries; the default is 500.
|
|
|
|
export HISTSIZE='32768';
|
|
|
|
export HISTFILESIZE="${HISTSIZE}";
|
|
|
|
# Omit duplicates and commands that begin with a space from history.
|
|
|
|
export HISTCONTROL='ignoreboth';
|
|
|
|
|