From 3bb9d9326f592a7893a2972b18b1ab4e6b15d9bc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 12 Oct 2017 16:28:23 +0000 Subject: [PATCH] re-add ssh completion --- roles/batcave/files/root_bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/batcave/files/root_bashrc b/roles/batcave/files/root_bashrc index 13ed4c4668..0ebb233d34 100644 --- a/roles/batcave/files/root_bashrc +++ b/roles/batcave/files/root_bashrc @@ -11,6 +11,8 @@ if [ -f /etc/bashrc ]; then . /etc/bashrc fi +# ssh completion +complete -W "$(grep -d skip -h ^[a-z].*.org /srv/web/infra/ansible/inventory/* )" ssh >&/dev/null if [ -f /root/sshagent ]; then source /root/sshagent >>/dev/null