Bart thanks for the suggestion, I tried your solution but it doesn't work for me when I first start up a new shell. When I start up a new shell there is no POSTDISPLAY information, but when I then change into command mode the prompt appears. Does your code work for you when you first startup a shell? I am using zsh version 5.0.2 on a debian sid box Thanks, Jesse