1 Reply Latest reply on Apr 30, 2009 9:59 AM by Jens Heilmann

    no username in prompt when change the zsh to 4.3.4

    Jens Heilmann



      The Bladelogic Version is 7.4.6


      My nsh is linked to zsh (old version)


      sy01025@linux:/opt/bladelogic/bin> ls -l nsh

      lrwxrwxrwx 1 root root 3 3. Mär 21:12 nsh -> zsh


      My prompt is set to export PS1="%n@%~%# "


      and my prompt is very nice. I see my username, the hostname and the directory.


      Now i change the nsh to zsh-4_3_4


      @/opt/bladelogic/bin]% ls -l nsh

      lrwxrwxrwx 1 root root 9 Apr 26 17:52 nsh -> zsh-4_3_4


      the prompt-definition is not changed, but i see not the username im the prompt.




      now i setting in this env the prompt:

      % export PS1="[%n@%~]%# "

      % export PPROMPT="[%n@%~]%# "



      But the username i not seeing. Is this a bug or what is my error.


      Sorry for my bad english.


      Jens Heilmann