prompt_OFF as default

ssh
prompt
ubuntu

#1

Hello,

Since the last Quickbox update, when I login to my server via SSH, powerprompt_on is set as default.
Is there any way to set prompt_OFF back to default ?

Thanks


#2

Edit your ~.profile to be like this:

# ~/.profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ -f ~/.profile ]; then
  if [ "$PS1" ]; then
    if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
      # The file bash.bashrc already sets the default PS1.
      # PS1='\h:\w\$ '
      if [ -f ~/.bashrc ]; then
        . ~/.bashrc
        prompt_OFF
      fi
    else
      if [ "`id -u`" -eq 0 ]; then
        PS1='# '
      else
        PS1='$ '
      fi
    fi
  fi
fi

mesg n || true

#3

Yay, thanks a lot :slight_smile: