aboutsummaryrefslogtreecommitdiffstats
path: root/bash/.bashrc
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2019-04-24 15:26:03 +0200
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2019-04-24 15:26:03 +0200
commit1b333f7c1fc21f90a6972784edd6ac1be07b814f (patch)
treea7f68f71aafa6a224182abc90b13a3da18e057ce /bash/.bashrc
parent03710f25a87f7c96342eaf62918d4a9d5f07ef9c (diff)
downloaddotfiles-1b333f7c1fc21f90a6972784edd6ac1be07b814f.tar.gz
dotfiles-1b333f7c1fc21f90a6972784edd6ac1be07b814f.tar.bz2
dotfiles-1b333f7c1fc21f90a6972784edd6ac1be07b814f.zip
Updated files
Diffstat (limited to 'bash/.bashrc')
-rwxr-xr-xbash/.bashrc9
1 files changed, 7 insertions, 2 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 9d8f705..36d9a13 100755
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -76,6 +76,10 @@ is_alias() {
76 fi 76 fi
77} 77}
78 78
79tunnel() {
80 ssh -R ${1}:80:127.0.0.1:${2} serveo.net
81}
82
79# Set autocomplete for sudo 83# Set autocomplete for sudo
80if exists complete && exists sudo; then 84if exists complete && exists sudo; then
81 complete -cf sudo 85 complete -cf sudo
@@ -184,8 +188,9 @@ elif exists screenfetch; then
184 screenfetch 188 screenfetch
185fi 189fi
186 190
187if exists brew && [ -f "$(brew --prefix)/etc/bash_completion" ]; then 191BASH_COMPLETION="$(brew --prefix)/etc/bash_completion"
188 source "$(brew --prefix)/etc/bash_completion" 192if exists brew && [ -f "${BASH_COMPLETION}" ]; then
193 source "${BASH_COMPLETION}"
189fi 194fi
190 195
191# heroku autocomplete setup 196# heroku autocomplete setup