forked from jessfraz/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.exports
40 lines (30 loc) · 1.02 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
#!/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_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