bash : add autocomplete for checksum.
This commit is contained in:
parent
ec49e34533
commit
331b9b8f18
|
@ -25,3 +25,11 @@ checksum()
|
|||
echo "supported actions: new (n), check (c)."
|
||||
return 1
|
||||
}
|
||||
|
||||
# autocomplete.
|
||||
_checksum()
|
||||
{
|
||||
autocomplete "{new,check}"
|
||||
}
|
||||
|
||||
complete -F _checksum checksum
|
||||
|
|
Reference in a new issue