What is your home directory in /etc/passwd? What is the underlying directory path? If these two are not the same, then: Are you using automounter? Are there any symlinks in the path to your homedir?
e.g. I use /home/brian as my home directory, but the underlying path is /export/home/brian, and I use automounter. bash-3.2.50(1) works fine with this setup if I either "cd $HOME", "cd" (no args), "cd ~" - all use the '~' in the prompt.
I would expect bash to use $HOME (set during login) rather than something in your home directory (unless you fiddle with it in .bashrc or the like).
Regards, Brian Chris wrote:
bash rev: GNU bash, version 3.2.25(1)-release (i386-pc-solaris2.11) Copyright (C) 2005 Free Software Foundation, Inc. I just tried the same prompt on another account and it worked fine. I am now thinking that this does not work on my account because this account was created before I moved the home directory to a different drive. There has to be some reference of the old home directory path lingering somewhere that bash is looking at on whether to replace it with the tilde or not. Not sure where this could be though.
-- Brian Ruthven Solaris Revenue Product Engineering Sun Microsystems UK Sparc House, Guillemont Park, Camberley, GU17 9QG _______________________________________________ opensolaris-discuss mailing list [email protected]
