forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.exports
55 lines (44 loc) · 1.44 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env bash
# This can be configured on a per-machine basis in ~/.dotconf
if [ -z $LOCAL_NET_IFACE ]
then
if [ $(uname) == "Darwin" ]
then
export LOCAL_NET_IFACE="en0"
elif [ $(uname) == "Linux" ]
then
export LOCAL_NET_IFACE="wlan0"
fi
fi
# 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';
# Highlight section titles in manual pages.
export LESS_TERMCAP_md="${yellow}";
# Less settings
if which less > /dev/null 2>&1;then
export PAGER="less"
export LESS="-R"
# nicer highlighting
if which src-hilite-lesspipe.sh > /dev/null 2>&1; then
export LESSOPEN="| src-hilite-lesspipe.sh %s"
fi
# Don’t clear the screen after quitting a manual page.
export MANPAGER='less -X';
fi
# Avoid issues with `gpg` as installed via Homebrew.
# https://stackoverflow.com/a/42265848/96656
export GPG_TTY=$(tty);
export JQ_COLORS="1;30:0;31:0;32:0;35:0;33:1;35:1;35";
# Hide the “default interactive shell is now zsh” warning on macOS.
export BASH_SILENCE_DEPRECATION_WARNING=1;
# Disable telemetry of various programs
export HOMEBREW_NO_ANALYTICS=1
export DOTNET_CLI_TELEMETRY_OPTOUT=1