use bash-completion instead of shell-completion.el, use xclip of melpa.