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

Add default config file feature #3629

Open
lepapareil opened this issue Jan 22, 2025 · 2 comments
Open

Add default config file feature #3629

lepapareil opened this issue Jan 22, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@lepapareil
Copy link
Collaborator

lepapareil commented Jan 22, 2025

Problem to solve

Getting default configuration without updating any Hurl file, exec Hurl command line, exec Hurl script or Hurl variable file.

Proposal

Use ~/.hurlrc as curl does with ~/.curlrc => https://everything.curl.dev/cmdline/configfile.html#default-config-file

@lepapareil lepapareil added the enhancement New feature or request label Jan 22, 2025
@fabricereix
Copy link
Collaborator

We can support $XDG_CONFIG_HOME/hurlrc

@lepapareil
Copy link
Collaborator Author

lepapareil commented Feb 7, 2025

On Windows perhaps we can use standard %USERPROFILE% var ?

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

No branches or pull requests

2 participants