-
Notifications
You must be signed in to change notification settings - Fork 2
/
.exports
47 lines (36 loc) · 1.21 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
#!/bin/zsh
# Set zsh as our shell, idk why anyone would use something else ;)
shell="$(which zsh)";
export SHELL="$shell";
# Make vim the default editor
export EDITOR=/usr/bin/vim;
export TERMINAL="urxvt";
export KEYTIMEOUT=1
export CHARSET=UTF-8
export GOTESTSUM_FORMAT=short
export TERM="xterm-256color"
# 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 UK English and use UTF-8
export LANG="en_GB.UTF-8";
export LC_ALL="en_GB.UTF-8";
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X";
export TODOTXT_DEFAULT_ACTION=ls
# 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
# set xdg data dirs for dmenu to source
export XDG_DATA_DIRS=/usr/share/
export ZSH="$(realpath ~)/.oh-my-zsh"
export ZSH_THEME="robbyrussell"
export ZSH_TMUX_AUTOSTART=true