-
Notifications
You must be signed in to change notification settings - Fork 1
/
.exports
41 lines (33 loc) · 1.33 KB
/
.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
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env sh
# Make VS Code the default editor, nobody needs vim or emacs
export EDITOR="/usr/local/bin/code -w";
# Use standard ISO 8601 timestamp
# %F equivalent to %Y-%m-%d
# %T equivalent to %H:%M:%S (24-hours format)
export HISTTIMEFORMAT="%F %T ";
# 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="erasedups:ignoreboth";
# Make some commands not show up in history
export HISTIGNORE="ls:cd:cd -:pwd:bg:fg:history:clear:exit:date:* --help";
# Prefer German and use UTF-8.
export LANG="de_DE.UTF-8";
export LC_ALL="de_DE.UTF-8";
# Manuals
export MANPATH="/opt/local/share/man:${MANPATH}";
# 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
GPG_TTY="$(tty)";
export GPG_TTY;
# Enable persistent REPL history for `node`.
export NODE_REPL_HISTORY="$HOME/.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";