-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exports
79 lines (59 loc) · 2.08 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/bash
# Make vim the default editor
export EDITOR=/usr/bin/nvim;
export TERMINAL="urxvt";
# Prefer US English and use UTF-8
export LANG="en_US.UTF-8";
export LC_ALL="en_US.UTF-8";
# Larger bash history (allow 32³ entries; default is 500)
export HISTSIZE=50000000;
export HISTFILESIZE=$HISTSIZE;
export HISTCONTROL=ignoredups;
# Make some commands not show up in history
export HISTIGNORE=" *:ls:cd:cd -:pwd:exit:date";
# timestamp 추가
export HISTTIMEFORMAT="%d/%m/%y %T "
function _bash_history_sync() {
# history append
builtin history -a
# history memory clear
builtin history -c
# history memory reload
builtin history -r
}
# promt 커맨드가 떨어진후에 자동 실행
export PROMPT_COMMAND="_bash_history_sync"
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X";
export DBUS_SESSION_BUS_ADDRESS
DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/user/$(id -u)/bus;
export TODOTXT_DEFAULT_ACTION=ls
# hidpi for gtk apps
export GDK_SCALE=2
export GDK_DPI_SCALE=0.5
export QT_DEVICE_PIXEL_RATIO=2
# turn on go vendoring experiment
export GO15VENDOREXPERIMENT=1
#export DOCKER_CONTENT_TRUST=1
# if it's an ssh session export GPG_TTY
if [[ -n "$SSH_CLIENT" ]] || [[ -n "$SSH_TTY" ]]; then
GPG_TTY=$(tty)
export GPG_TTY
fi
# https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md#opting-out
export HOMEBREW_NO_ANALYTICS=1
export PYTHONIOENCODING=UTF-8
export PYTHONWARNINGS=ignore
# https://github.com/tmux/tmux/issues/475
export EVENT_NOKQUEUE=1
export FZF_CTRL_R_OPTS='--sort --exact'
export FZF_DEFAULT_COMMAND="fd -I . \$(pwd)"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_ALT_C_COMMAND="fd -I -t d . /"
export ANSIBLE_NOCOWS=1
export AUTOENV_ENABLE_LEAVE=yes
export AUTOENV_ASSUME_YES=yes
export EXECIGNORE="*/kubectl-expire-bash:*/kubectl-krew:*/kubectl-check_cert:*/kubectl.docker"
export DOCKER_BUILDKIT=1
# pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.
export PYENV_VIRTUALENV_DISABLE_PROMPT=1