nutools/lib/bashrc.d/bash_completion.nutools

9 lines
230 B
Bash

# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
if [ -n "$BASH_COMPLETION" ]; then
if [ -f "$BASH_COMPLETION_DIR/ssh" ]; then
shopt -u hostcomplete
complete -F _ssh ussh cssh
fi
fi