diff options
| -rw-r--r-- | mkshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,12 +98,12 @@ set_retro_prompt() { export PS1='\[$(set_my_title)\]\$ ' elif ! [ -z "$KSH_VERSION" ] ; then export PS1='$(set_my_title)$ ' - if [ $(id -un) -eq 0 ] ; then + if [ $(id -u) -eq 0 ] ; then export PS1='$(set_my_title)# ' fi else export PS1='$ ' - if [ $(id -un) -eq 0 ] ; then + if [ $(id -u) -eq 0 ] ; then export PS1='# ' fi fi |
