-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot.exports
97 lines (75 loc) · 2.42 KB
/
dot.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#!/bin/bash
# #get that damn path thingy set up nicely.
export PATH=$HOME/bin
export PATH=$PATH:/opt/homebrew/opt/ruby/bin
export PATH=$PATH:/opt/homebrew/lib/ruby/gems/2.7.0/bin
export PATH=$PATH:/opt/homebrew/bin
export PATH=$PATH:/opt/homebrew/sbin
export PATH=$PATH:/usr/local/opt/ruby/bin
export PATH=$PATH:/usr/local/lib/ruby/gems/2.7.0/bin
export PATH=$PATH:/usr/local/bin
export PATH=$PATH:/usr/local/sbin
export PATH=$PATH:/usr/bin
export PATH=$PATH:/bin
export PATH=$PATH:/usr/sbin
export PATH=$PATH:/sbin
export PATH=$PATH:/usr/X11/bin
export PATH=$PATH:/usr/local/bin
# Shut up composer.
export COMPOSER_DISABLE_XDEBUG_WARN=1
# Tell brew where to install stuff.
export HOMEBREW_CASK_OPTS="--appdir=/Applications --no-quarantine"
# GPG things for signing git commits
export GPG_TTY=$(tty)
#command line
case "$TERM" in
"dumb")
export PS1="> "
;;
xterm*|rxvt*|eterm*|screen*)
tty -s && export PS1="\[\e[0;33m\][\t][\u@\h \W]$\[\e[0m\] "
;;
esac
#turn on colour ls
export CLICOLOR=1
export LSCOLORS=gxfxcxdxbxegedabagacad
# Make emacs the default editor
export EDITOR="emacs -nw"
# Highlight section titles in manual pages
# shellcheck disable=SC2155
export LESS_TERMCAP_md=$(tput bold; tput setaf 6) # cyan
# Don’t clear the screen after quitting a manual page.
export MANPAGER='less -X';
# Allow ! in commands
export histchars=
# Larger bash history (allow 32³ entries; default is 500)
export HISTCONTROL=ignorespace:ignoredups:erasedups
export HISTFILESIZE=200000
export HISTSIZE=200000
export SAVEHIST=400000
# Make some commands not show up in history
export HISTIGNORE="ls:ps:cd:cd -:pwd:exit:date"
# make the history file update after every command,
# not just when the shell closes.
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
# localizations
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# make bash tab compeletion not suck.
export FIGNORE=$FIGNORE:\~
export FIGNORE=$FIGNORE:.git
# Some nice things for grep
export GREP_OPTIONS='--color=auto --exclude-dir=.git'
# make vc not suck.
export GIT_EDITOR=emacs
# Make less a bit nicer. -R color codes.
export LESS="-R"
# Make rsync a little better.
export RSYNC_RSH=ssh
# For compilers to find ruby
export LDFLAGS="-L${BREW}/opt/ruby/lib"
export CPPFLAGS="-I${BREW}/opt/ruby/include"
# For pkg-config to find ruby
export PKG_CONFIG_PATH="${BREW}/opt/ruby/lib/pkgconfig"
# Make OS X shut up
export BASH_SILENCE_DEPRECATION_WARNING=1