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

Support ackrc #1

Open
eliben opened this issue May 28, 2013 · 4 comments
Open

Support ackrc #1

eliben opened this issue May 28, 2013 · 4 comments

Comments

@eliben
Copy link
Owner

eliben commented May 28, 2013

Migrated from issue #42 on bitbucket

I love pss as a drop-in replacement - who wants to install Perl? But it odesn't support config files yet - it'd be great it if supported the "standard" ackrc.

Thanks for a great clone!

@benhoyt
Copy link
Contributor

benhoyt commented Jul 10, 2013

I'm also liking pss. I don't know if this is related to ackrc, but I have some custom file extensions (.tmpl for mixed HTML templates, for example) that pss doesn't find. With ack I use --type-add or --type-set to achieve this. Should I open a new issue?

@eliben
Copy link
Owner Author

eliben commented Jul 10, 2013

@benhoyt it is a separate issue, but just quickly - you can use a combination of -a and -G to do that. If this is not what you were asking about, please do open a separate issue.

@vsajip
Copy link

vsajip commented May 22, 2015

I've added a very simple configuration mechanism: if a file named .pss is found in the current directory, its contents are read in, treated as a list of command line arguments and inserted at the appropriate point in argv before passing to the command-line parser. This allows the addition of any project-specific command line flags (e.g. --ignore-dir for virtualenv subdirectories in project directories, custom file types, etc). You can see it here, if it's of interest I can submit a pull request.

@eliben
Copy link
Owner Author

eliben commented Oct 16, 2016

@vsajip That approach sounds reasonable.

Sorry for the terrible delay. pss "just works" for me so I don't tend to muck with it often

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

No branches or pull requests

3 participants