I'm having an issue with the Command Line Interface. I'm running Precise 12.04 armhf on a BeagleBone and all the functionality works fine that I need. I have a 'cosmetic problem' when logged in as the non-default user. The command line is simply a "$" no matter what directory I'm on. When I'm logged in as the default user it reads "user@hostname/directory". Also autocomplete (tab completion) seems to be disabled when I'm using the other user. I can use 'su' and switch to and from the default username and get a different looking prompt ("$" and "user@hostname/directory"). Pretty sure it's an easy fix. Help!
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
Answer found. I checked the /etc/passwd file and found that the shell for the user in question was /bin/sh not /bin/bash. Editing the shell fixed the issue. |
|||
|
|
echo $PS1please? That will show what the prompt should be – jackweirdy Jun 29 '12 at 22:11PS1="${debian_chroot:+($debian_chroot)}\u@\h:\w\$", does that fix the problem? (this will only be temporary) – jackweirdy Jun 29 '12 at 22:15