-
Notifications
You must be signed in to change notification settings - Fork 3
/
.exports
53 lines (38 loc) · 1.36 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
#!/usr/bin/env bash
# Larger bash history (allow 32³ entries; default is 500)
export HISTSIZE=32768;
export HISTFILESIZE=$HISTSIZE;
export HISTCONTROL=ignoredups;
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help";
# Prefer US English and use UTF-8
export LANG="en_US.UTF-8";
export LC_ALL="en_US.UTF-8";
# Highlight section titles in manual pages
export LESS_TERMCAP_md="${yellow}";
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X";
# Reference gitconfig
export GITCONFIG="$HOME/.gitconfig"
# Reference .ssh/config
export SSHCONFIG="$HOME/.ssh/config"
# Set the atom home folder
export ATOM_HOME="$HOME/.atom/"
# Make nano the default editor
export EDITOR="vim";
# Export Ruby to the PATH
export GEMPATH='~/.rbenv/versions/$(rbenv --version-name)/bin'
# Use brew php in CLI env
# export PATH="$(brew --prefix homebrew/php/php71)/bin:$PATH"
# Use brew sbin to path
export PATH="/usr/local/sbin:$PATH"
# Add `~/bin` to the `$PATH`
export PATH="$HOME/bin:$PATH";
# Avoid issues with `gpg` as installed via Homebrew
# https://stackoverflow.com/a/42265848/96656
export GPG_TTY=$(tty);
# Use brew curl instead of macOS curl
export PATH="/usr/local/opt/curl/bin:$PATH"
# Export some aliased brew dirs for easier access
export BREW_CELLAR="$(brew --cellar)"
export BREW_HOME="$(brew --prefix)/Homebrew"
export BREW_TAPS="$BREW_HOME/Library/Taps"