summaryrefslogtreecommitdiff
path: root/.bash_completion.d
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2013-09-25 12:28:14 -0400
committerMike Crute <mike@crute.us>2013-09-25 12:28:14 -0400
commit51ed3b5da88d322dc5c930f447625547a38e832c (patch)
treebd0ae1575e2cabd3f583a44a8e1ece2d11c6d698 /.bash_completion.d
parent3b0a017407641aa199ca4174ba6a077472ceaee2 (diff)
downloaddotfiles-51ed3b5da88d322dc5c930f447625547a38e832c.tar.bz2
dotfiles-51ed3b5da88d322dc5c930f447625547a38e832c.tar.xz
dotfiles-51ed3b5da88d322dc5c930f447625547a38e832c.zip
Clean up bashrc support new sandbox layout
Diffstat (limited to '.bash_completion.d')
-rw-r--r--[-rwxr-xr-x].bash_completion.d/django_bash_completion.bash (renamed from .bash_completion.d/django_bash_completion)0
-rw-r--r--.bash_completion.d/sandbox12
-rw-r--r--.bash_completion.d/ssh11
3 files changed, 0 insertions, 23 deletions
diff --git a/.bash_completion.d/django_bash_completion b/.bash_completion.d/django_bash_completion.bash
index 1c3887e..1c3887e 100755..100644
--- a/.bash_completion.d/django_bash_completion
+++ b/.bash_completion.d/django_bash_completion.bash
diff --git a/.bash_completion.d/sandbox b/.bash_completion.d/sandbox
deleted file mode 100644
index cef0021..0000000
--- a/.bash_completion.d/sandbox
+++ /dev/null
@@ -1,12 +0,0 @@
1#!bash
2
3if [[ -d ~/sandboxes ]]; then
4function sandbox_complete
5{
6 word=${COMP_WORDS[COMP_CWORD]}
7 allwords="$(ls ~/sandboxes)"
8 COMPREPLY=( $(compgen -W "$allwords" $word) )
9}
10
11complete -F sandbox_complete sb
12fi
diff --git a/.bash_completion.d/ssh b/.bash_completion.d/ssh
deleted file mode 100644
index 850bf38..0000000
--- a/.bash_completion.d/ssh
+++ /dev/null
@@ -1,11 +0,0 @@
1#!bash
2if [[ -r ~/.ssh/config ]]; then
3function ssh_complete
4{
5 word=${COMP_WORDS[COMP_CWORD]}
6 allwords="$(echo `grep '^Host .*' ~/.ssh/config | cut -d' ' -f2`)"
7 COMPREPLY=( $(compgen -W "$allwords" $word) )
8}
9
10complete -F ssh_complete ssh
11fi