Op 26-03-09 15:25, Jari Aalto schreef:
Erwin Waterlander <water...@xs4all.nl> writes:
It looks like that on your system the auto mounter has mounted your
$HOME to
/mnt/nfs/sripe-server/home/user/staff/depatment-xx/j/ja/jaalto
What path do you get if you type `pwd' and `/bin/pwd' in your $HOME
directory?

The example was under SunOs, where I have no control.

Wcd will report the same path as `/bin/pwd', and that is different
than the shell builtin `pwd' command. For instance if you cd to a soft
link that is a link to a directory `pwd' will report a different path
than `/bin/pwd'.

Understood.

... Alternatively add new
configuration option that would export path using tilde.

I'd gladly resolve to the alternate solution, where user can ask the
program to do the conversion. Most user's use wcd() for their personal
files, where the tilde(~) solution works; with caveats that can
be expressed in manual page when the option is used.

Jari
Hi,

I rather assume nothing. I don't know if tilde works in any (old) shell. It doesn't work in DOS/Windows shells, that's for sure. I can't ignore that. I know that absolute paths always work, on any system, in any shell.

If the auto mounter path is replaced with your $HOME path than the problem is solved, isn't it? Do you really need the tilde? `/home/jaalto' is good, I think. It is also better in a multi-user environment than ~/.

Erwin

Reply via email to