code completion

bash completion config
complete returns completions for incomplete words
complete returns completions for complete words