fix bash completion in shell mode