mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-07-30 03:28:35 -07:00
27 lines
501 B
Bash
27 lines
501 B
Bash
# ssh-add(1) completion -*- shell-script -*-
|
|
|
|
_ssh_add()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
case $prev in
|
|
-t)
|
|
return
|
|
;;
|
|
-s|-e)
|
|
_filedir so
|
|
return
|
|
;;
|
|
esac
|
|
|
|
if [[ $cur == -* ]]; then
|
|
COMPREPLY=( $( compgen -W '$( _parse_help "$1" "-\?" )' -- "$cur" ) )
|
|
return
|
|
fi
|
|
|
|
_filedir
|
|
} &&
|
|
complete -F _ssh_add ssh-add
|
|
|
|
# ex: filetype=sh
|