Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
dotfiles/.exports
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (28 sloc)
1.14 KB
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
#!/usr/bin/env bash | |
# 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'; | |
# 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="${yellow}"; | |
# Don’t clear the screen after quitting a manual page. | |
export MANPAGER='less -X'; | |
# Avoid issues with `gpg` as installed via Homebrew. | |
# https://stackoverflow.com/a/42265848/96656 | |
export GPG_TTY=$(tty); | |
# Hide the “default interactive shell is now zsh” warning on macOS. | |
export BASH_SILENCE_DEPRECATION_WARNING=1; |