Skip to content

Ignores Hidden Files#38

Open
MyriaCore wants to merge 1 commit intoleehblue:masterfrom
MyriaCore:ignore-hidden-files
Open

Ignores Hidden Files#38
MyriaCore wants to merge 1 commit intoleehblue:masterfrom
MyriaCore:ignore-hidden-files

Conversation

@MyriaCore
Copy link
Copy Markdown

This PR fixes #36 by adding a -not -path "${base_dir}/.*" switch in the find command, used to compute abbrvs. It's working on my system, so I figured I'd throw it up here.

This is useful to me because I have a ~/.texpander/.config/ folder where I put a bash script that updates all my text replacements at once from a JSON file, and those files shouldn't be indexed. If anyone wants to do a similar thing, this is a must.

~ Added a `-not -path "${base_dir}/\.*"` switch to the find command
@neilpie
Copy link
Copy Markdown

neilpie commented Sep 3, 2021

+1 thank you

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

Successfully merging this pull request may close these issues.

Ignore hidden . files in texpander directory

2 participants