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
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
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
Yay, thanks a lot