agterm-win 0.45.5 · cookbook

New session in workspace

Pick a workspace from a searchable list, or create one, name the session, and it opens there. You don't have to go to that workspace first.

In agterm-win · Set it up in WSL · On Windows · The recipe

In agterm-win

An agterm-server session in an Ubuntu distribution, in a fresh agterm-win with the Nordic Blue Dark theme.

An overlay listing the workspaces api and web and a New workspace entry
The script opens an fzf overlay over the session with every workspace in the window, plus New workspace….
The overlay asking for the session name, with storybook typed
After choosing web, the second prompt asks for the session's name.
The sidebar with a new storybook session under web
The overlay closes and storybook is in the web workspace.

Set it up in WSL

In the distribution, from a copy of the recipe's folder.

$ sudo apt install jq fzf
$ mkdir -p ~/bin
$ cp agt-new-session.sh ~/bin/
$ chmod +x ~/bin/agt-new-session.sh

Then, from a shell in an agterm session:

$ agt-new-session.sh

On Windows

  • agterm-win 0.45.5 skips keymap command lines, so run the script from a shell rather than from a key.

The recipe, with how it works and its limits: cookbook/new-session-in-workspace.

← Long-commands status · All recipes · Park and resume →