summaryrefslogtreecommitdiffstats
path: root/Cancer/bridge/etc
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-12-30 14:34:38 +0100
committermakefu <root@pigstarter.de>2013-12-30 14:34:38 +0100
commit08aa5e406a1f7b39182e79ea4eb7fabf7d61eaa3 (patch)
tree2db1a54f336167cc3cc3d5f74c77d029fe7e7470 /Cancer/bridge/etc
parent133e49566c74f1d21c28536ed31d1514725ed49b (diff)
//Cancer -> //
because that is what painload is all about
Diffstat (limited to 'Cancer/bridge/etc')
-rw-r--r--Cancer/bridge/etc/bash_completion.d/bridge18
1 files changed, 0 insertions, 18 deletions
diff --git a/Cancer/bridge/etc/bash_completion.d/bridge b/Cancer/bridge/etc/bash_completion.d/bridge
deleted file mode 100644
index 86d8a4e2..00000000
--- a/Cancer/bridge/etc/bash_completion.d/bridge
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/bash
-function comp_bridge() {
- local cword="${COMP_WORDS[$COMP_CWORD]}"
- local bindir="$(dirname $(readlink -f "$BASH_SOURCE"))/../../lib/bridge/bin"
- case $COMP_CWORD in
- (1)
- COMPREPLY=( $(cd "$bindir" && ls | grep "^$cword.*") )
- ;;
- (2)
- case "${COMP_WORDS[1]}" in
- (attach|destroy|paste)
- COMPREPLY=( $(bridge list 2>/dev/null | grep "^$cword.*") )
- ;;
- esac
- ;;
- esac
-}
-complete -F comp_bridge bridge