forked from jmhobbs/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash-osx.symlink
55 lines (42 loc) · 1.14 KB
/
bash-osx.symlink
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
############
# Homebrew #
############
#
if [ -d "/usr/local/sbin" ]; then
export PATH="/usr/local/sbin:${PATH}"
fi
###########################
# brew bash autocompletes #
###########################
if [ -f $(brew --prefix)/etc/bash_completion ]; then
source $(brew --prefix)/etc/bash_completion
fi
#######################
# OSX Android Toolkit #
#######################
OSX_ANDROID="${HOME}/Library/Android/sdk/platform-tools"
if [ -d $OSX_ANDROID ]; then
export PATH="${PATH}:${OSX_ANDROID}"
fi
##########################################
# Homebrew sqlite3 with readline support #
##########################################
#
export PATH="/usr/local/opt/sqlite/bin:$PATH"
###########################
# OSX AWS bash completion #
###########################
complete -C aws_completer aws
###########
# iTerm 2 #
###########
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"
###########
# Helpers #
###########
alias dnsflush="sudo killall -HUP mDNSResponder"
alias checkwin="shopt -s checkwinsize"
############
# GPG->SSH #
############
export SSH_AUTH_SOCK=/Users/johnhobbs/.gnupg/S.gpg-agent.ssh