terminal autocomplete rebase - prototype