This makes it possible to change command completion in hooks and paves the way to more flexibility in how custom commands can be completed
dtach-repl