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

Ignore hidden . files in texpander directory #36

Open
MyriaCore opened this issue May 7, 2019 · 2 comments · May be fixed by #38 or #49
Open

Ignore hidden . files in texpander directory #36

MyriaCore opened this issue May 7, 2019 · 2 comments · May be fixed by #38 or #49

Comments

@MyriaCore
Copy link

I'm unsure if this is intended behavior, but files and folders of the form ~/.texpander/.* are still indexed by the script.

I have a ~/.texpander/.config/ folder, where I have a json file and a bash script that reads from the json file and writes to the ~/.texpander/ directory. They're all currently being indexed, dispite the fact that .config should be hidden.

I would think intended behavior would be that those files aren't available in the zenity window. I never used textexpander though, so I don't know how that handles it either.

@MyriaCore
Copy link
Author

I did a quick fix for this by adding -not -path "${base_dir}/\.*" in the call to find. I'm gonna make a PR if anyone's interested.

@MyriaCore MyriaCore mentioned this issue May 23, 2019
@MyriaCore
Copy link
Author

NVM, I totally didn't do the PR branching correctly. I'll fix it and re-do the request!

MyriaCore pushed a commit to MyriaCore/texpander that referenced this issue May 23, 2019
~ Added a `-not -path "${base_dir}/\.*"` switch to the find command
@MyriaCore MyriaCore linked a pull request May 23, 2019 that will close this issue
@stephaneisenbach stephaneisenbach linked a pull request Sep 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant