Rather than specifying an absolute pathname,
use command substitution instead.
Instead of:
% vi /usr/local/bin/foo
Try:
% vi `which foo`
NOTE: files must be in your path for "which" to find them.
This tip generously supported by: thockin@ais.net NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.