aboutsummaryrefslogtreecommitdiff
path: root/2018-linuxdays/examples/bash/function
blob: ab6e5dade3bad71c4b478de9d14f0c89e1bd894b (plain)
1
2
3
4
_sterm() {
	COMPREPLY+=($(compgen -W "9600 19200 38400 57600 115200" -- "${COMP_WORDS[COMP_CWORD]}"))
}
complete -F _sterm sterm