diff options
author | Mike Crute <mcrute@gmail.com> | 2013-09-25 12:28:14 -0400 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2013-09-25 12:28:14 -0400 |
commit | 51ed3b5da88d322dc5c930f447625547a38e832c (patch) | |
tree | bd0ae1575e2cabd3f583a44a8e1ece2d11c6d698 /.bash_completion.d | |
parent | 3b0a017407641aa199ca4174ba6a077472ceaee2 (diff) | |
download | dotfiles-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/sandbox | 12 | ||||
-rw-r--r-- | .bash_completion.d/ssh | 11 |
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 | |||
3 | if [[ -d ~/sandboxes ]]; then | ||
4 | function sandbox_complete | ||
5 | { | ||
6 | word=${COMP_WORDS[COMP_CWORD]} | ||
7 | allwords="$(ls ~/sandboxes)" | ||
8 | COMPREPLY=( $(compgen -W "$allwords" $word) ) | ||
9 | } | ||
10 | |||
11 | complete -F sandbox_complete sb | ||
12 | fi | ||
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 | ||
2 | if [[ -r ~/.ssh/config ]]; then | ||
3 | function 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 | |||
10 | complete -F ssh_complete ssh | ||
11 | fi | ||