I'm sending this along in case it's useful, but please reject if not -- I'm still working on getting a grasp of what lisp code should look like.
My $PATH has accumulated a lot of detritus -- folders that were removed, never exist on this hosts, and folders that are now symlinks to a file. So the post-command-hook mount was spitting out a lot of warnings every prompt. This is my lazy solution.
*path-warning* is a knob to toggle warnings that otherwise are seen before every prompt.
E.g.
Failed to mount ... in $PATH: ... is a regular-file, wanted (directory).
warning: Failed to mount /opt/afni/ in $PATH: /opt/afni/ does not exist.
A better fix is to maintain a hygienic $PATH. But after launching unix-in-lisp, it's maybe too late?
I'm sending this along in case it's useful, but please reject if not -- I'm still working on getting a grasp of what lisp code should look like.
My
$PATH
has accumulated a lot of detritus -- folders that were removed, never exist on this hosts, and folders that are now symlinks to a file. So thepost-command-hook
mount was spitting out a lot of warnings every prompt. This is my lazy solution.*path-warning*
is a knob to toggle warnings that otherwise are seen before every prompt.E.g.
A better fix is to maintain a hygienic
$PATH
. But after launching unix-in-lisp, it's maybe too late?