Modified sage-shell-cpl:completion-init.