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

Set a default configuration #148

Open
al3rez opened this issue Oct 3, 2016 · 1 comment
Open

Set a default configuration #148

al3rez opened this issue Oct 3, 2016 · 1 comment

Comments

@al3rez
Copy link

al3rez commented Oct 3, 2016

is it possible to set a default configuration (for example set a header, etc) ?

@njonsson
Copy link
Member

njonsson commented Oct 5, 2016

Unfortunately not. You can get close, but note that your htty session ends before you can issue commands to it:

$ echo "headers-set foo bar
query-add baz qux" >~/.htty
$ htty <~/.htty
*** Welcome to  htty , the HTTP TTY. Heck To The Yeah!
http://0.0.0.0/> headers-set foo bar
http://0.0.0.0/> query-add baz qux
*** Happy Trails To You!
$ 

I welcome pull requests, so if you want to take a stab at this.

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

2 participants