Replacing a fixed part of PWD in a tcsh prompt
问题 My prompt is currently displayed like here: [Aug-27 14:36] /x/y/z/w/u/v/dir1/dir2/dir3> What I would like to do is replace the constant partial-path of the current working directory /x/y/z/w/u/v with $WORK so eventually what will be displayed is [Aug-27 14:36] $WORK/dir1/dir2/dir3> /x/y/z/w/t/u is always the same path from which I usually do my work and for which I have a local variable $WORK set (very similar to the home ~ idea). A straight-forward solution will be most-welcomed as I really