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

Request: Pass profile and command to Terminix when launching new Terminix #47

Closed
sengelbert opened this issue Jan 22, 2016 · 4 comments
Closed

Comments

@sengelbert
Copy link
Contributor

With the recent updates to #40 I would like to be able to include the terminal profile and commands to the launching command. This is incredibly useful for launching new sessions, aliases, ssh sessions, etc.

Example:
terminix -c app-new-window -p dev
terminix -c app-new-window -p dev -x bash -c "ssh "

Examples from Gnome terminal:
gnome-terminal --window-with-profile=dev
gnome-terminal --window-with-profile=dev -x bash -c "ssh "

@gnunn1
Copy link
Owner

gnunn1 commented Jan 22, 2016

It's already completed and will be available in the next release which will hopefully be out tonite, see the wiki entry here:

https://github.com/gnunn1/terminix/wiki/Command-Line-Actions

@gnunn1 gnunn1 closed this as completed Jan 22, 2016
@sengelbert
Copy link
Contributor Author

OK. I did not see how to specify a profile that is not the default profile in #40 or the wiki you mentioned. How is that accomplished? Example would be default profile is called "Solarized" other profile is called "Tango". User wants to open new terminal with "Tango" profile rather than default "Solarized" profile.

@gnunn1
Copy link
Owner

gnunn1 commented Jan 22, 2016

You can select the profile using -p or --profile. Running terminix with
--help shows all the command line options. Running terminix with the -a
will cause it to pass any command line options to the new terminal if one
is created via the action switch.
On 22 Jan 2016 11:33 a.m., "sengelbert" notifications@github.com wrote:

OK. I did not see how to specify a profile that is not the default profile
in #40 #40 or the wiki you
mentioned. How is that accomplished? Example would be default profile is
called "Solarized" other profile is called "Tango". User wants to open new
terminal with "Tango" profile rather than default "Solarized" profile.


Reply to this email directly or view it on GitHub
#47 (comment).

@sengelbert
Copy link
Contributor Author

Great! Thanks!

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