Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbolic links not supported #40

Open
braydenjw opened this issue Oct 23, 2019 · 1 comment
Open

Symbolic links not supported #40

braydenjw opened this issue Oct 23, 2019 · 1 comment

Comments

@braydenjw
Copy link

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.

@derdeagle
Copy link

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" )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants