leehblue/texpander

Symbolic links not supported

Opened this issue · 1 comments

It can be useful to use symbolic links in the ~/.texpander directory instead of regular files.

The only reason they do not work is because of the -type f argument in the find command. Simply changing this to -not type d (everything except directories) should do the trick.

I stumbled upon the same problem but I added the -L parameter to find.
abbrvs=$(find -L "${base_dir}" -type f | sort | sed "s?^${base_dir}/??g" )