prompt display when cd to dir symoblic link
Denys Vlasenko
vda.linux at googlemail.com
Wed Apr 1 12:18:35 UTC 2015
On Wed, Apr 1, 2015 at 4:39 AM, santosh <ysan99 at gmail.com> wrote:
> Hello!
>
> I have a link to directory.
>
> /var/test --> /hdd1/test.
>
> /$pwd
> /
> $cd /var/test
> /hdd/test$
>
> The prompt's PS1 w should displays real directory name.
> I like it to display like
>
> /var/test$
>
> Is there anything I can configure to get this behavior?
No.
In Unix, current directory is always physical.
You can't really "cd to a symlink".
When you do that, your current directory
will be where symlink points to, not the symlink.
More information about the busybox
mailing list