-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot-zshenv
More file actions
61 lines (45 loc) · 1.51 KB
/
dot-zshenv
File metadata and controls
61 lines (45 loc) · 1.51 KB
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
56
57
58
59
60
61
#!/usr/bin/env bash
# Make vscode the default editor.
if [ -z "$SSH_CONNECTION" ]; then
export EDITOR=vim;
else
export EDITOR=$(type -P vim || type -P vi)
fi
export VISUAL="code --wait"
export SSH_KEY_PATH=$HOME/.ssh/id_rsa.pub
# Enable persistent REPL history for `node`.
export NODE_REPL_HISTORY_FILE=~/.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';
# Require pip to run inside a virtual enviroment
export PIP_REQUIRE_VIRTUALENV=true
# Use ipdb for Python debugging
export PYTHONBREAKPOINT=ipdb.set_trace
# Pipenv (ignore some warnings)
# Pipenv (ignore some warnings)
export PIPENV_DONT_LOAD_ENV=1
export PIPENV_VERBOSITY=-1
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
# Highlight section titles in manual pages.
export LESS_TERMCAP_md="${yellow}";
# Pager
export PAGER="less -FX"
# Don’t clear the screen after quitting a manual page.
export MANPAGER='less -FX';
# Make gpg always happy
# https://stackoverflow.com/a/42265848/96656
export GPG_TTY=$(tty)
# Bat color theme
export BAT_THEME='TwoDark'
# Add local bin to the path
export PATH=$PATH:$HOME/.local/bin:$HOME/.scripts
# Homebrew
export HOMEBREW_NO_AUTO_UPDATE=1
# psql is a keg-only formula
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
export NVM_DIR="$HOME/.nvm"