[asdf-devel] add-cldir helper script
Daniel Herring
dherring at tentpost.com
Thu Mar 13 02:35:36 UTC 2014
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
More information about the asdf-devel
mailing list