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 Windows Terminal profile option #196

Closed
2 tasks done
marcoesters opened this issue Apr 26, 2024 · 2 comments · Fixed by #200
Closed
2 tasks done

Add Windows Terminal profile option #196

marcoesters opened this issue Apr 26, 2024 · 2 comments · Fixed by #200
Assignees
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability

Comments

@marcoesters
Copy link
Contributor

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

The Windows Terminal app contains profiles for terminal-based applications. These are stored in a settings.json file that can be appended. The Microsoft documentation contains a few examples of dynamic profiles.

Why is this needed?

Conda packages such as the console shortcuts for Miniconda, Anaconda Distribution, and Miniforge can be opened in the Windows Terminal, but do not appear in the profile list. This would be a great convenience feature to use the tab feature of the Windows Terminal instead of having to open a new Window each time.

What should happen?

A new option should be added to allow adding Windows Terminal profiles.

Additional Context

This is currently focused on the Windows Terminal, but the schema should be updated such that it could potentially be expanded to other platforms if the profile config files have plain-text configuration files.

@marcoesters marcoesters added the type::feature request for a new feature or capability label Apr 26, 2024
@marcoesters marcoesters self-assigned this Apr 26, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Apr 26, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to 🏁 Done in 🧭 Planning May 15, 2024
@jypeter
Copy link

jypeter commented Jun 13, 2024

That's nice, @marcoesters ! Just what I was looking for using Google, and not finding any nice/streamlined steps that don't involve manually editing the Terminal json config file

The trouble is that I have checked the current menuinst documentation and I have not found any obvious and easy way to add a new profile to my Windows Terminal.

Can we use something similar to what is described in menuinst Usage : python -c "from menuinst.api import install; install('path/to/menu.json')"

Thanks!

@marcoesters
Copy link
Contributor Author

You can install it the same way, you just need to add the terminal_profile option to the Windows part of your config file. See the schema: https://conda.github.io/menuinst/reference/#menuinst._schema.Windows.terminal_profile

Be advised though that this will also create a Start Menu entry - I don't think this can be skipped yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants