Re: [asdf-devel] Alternate default lisp system location
On Wed, 12 Mar 2014, Zach Beane wrote:

Is there some easy way, supported by ASDF, to make a system known to
ASDF if you have its pathname?

I added the following function to my ~/bashrc shortly after migrating to the new ASDF config mechanism.

add-cldir() {
  cfg="$HOME/.config/common-lisp/source-registry.conf.d/10-$USER.conf"
  grep $PWD $cfg || echo "(:directory \"$PWD/\")" >> $cfg
}

This could easily be converted to a standalone shell script and batch file, suitable for all major platforms.

- Daniel

Reply via email to