-
Notifications
You must be signed in to change notification settings - Fork 0
/
.exports
62 lines (46 loc) · 1.84 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
#!/bin/bash
# Make vim the default editor
export EDITOR=/usr/bin/nvim;
export TERMINAL="urxvt";
# 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:* --help:* -h:pony:pony add *:pony update *:pony save *:pony ls:pony ls *";
# Prefer US English and use UTF-8
export LANG="en_US.UTF-8";
export LC_ALL="en_US.UTF-8";
# 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_AUTO_SCREEN_SCALE_FACTOR=1
export DOCKER_CONTENT_TRUST=0
# Make sure default for Vagrant is always correctly set
export VAGRANT_DEFAULT_PROVIDER=virtualbox
# if it's an ssh session export GPG_TTY
if [[ -n "$SSH_CLIENT" ]] || [[ -n "$SSH_TTY" ]]; then
GPG_TTY=$(tty)
export GPG_TTY
fi
export MAVEN_OPTS="-Xms1024m -Xmx2048m -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -DdependencyLocationsEnabled=false"
export NVM_DIR="/Development/tools/nvm"
# shellcheck source=/dev/null
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# pip (Python installer) should only run if there is a virtualenv currently activated
export PIP_REQUIRE_VIRTUALENV=true
# use syspip (= pip) to update global packages without a virtualenv environment
syspip() {
PIP_REQUIRE_VIRTUALENV="" pip3 "$@"
}
# pipx install binaries in /usr/local/bin (instead of $HOME/.local/bin). Make sure env is used when installing as root
PIPX_HOME=/opt/pipx
PIPX_BIN_DIR=/usr/local/bin
# Clang exports for building C++ projects (via symlinks picks up latest installed)
export CC=clang
export CXX=clang++