riverliner.blogg.se

Combine iterm windows
Combine iterm windows











  1. Combine iterm windows full#
  2. Combine iterm windows code#

For example, enter tty lo 3 to select the the session with title localhost running on /dev/ttys003. In order to make working with more than one window/tab/pane with the same title easier, the tty is displayed beneath the result, and can be provided as a second argument to the trigger. Override by setting the ssh_workflow and ssh_trigger variables for deanish/alfred-ssh, set the ssh_workflow variable to -ssh. ⇄ ssh as3.īy default, the ssh workflow is assumed to be (i.e. For example, enter tty as3 to switch to a tab with the title no active terminal matches, or you use the Cmd-modifier, trigger your preferred ssh workflow, e.g. Trigger the workflow with the keyword tty or via hotkey followed by some characters from the title of an open window, tab or pane press Enter to activate the selected window/tab/pane, Alt-Enter to close it, or Cmd-Enter to trigger your ssh workflow. Unfortunately, performance goes down the drain as soon as you have a single pane with significant scrollback (I tend to run with unlimited scrollback), rendering the entire workflow unusable I suppose I could expose this behind a default-disabled feature flag for those that don't rely on a large scrollback, but I'm not convinced it would be that useful… if anyone seriously thinks otherwise, log a feature request.Ī JXA-based workflow for Alfred 3 users to quickly switch between or close iTerm windows, tabs and panes based on title and tty, or trigger your preferred ssh workflow when no open session is found (supports both isometry/alfred-ssh and deanishe/alfred-ssh). The entire scrollback history is available, and I did play with filtering history (and the last line/screen of output, which commonly includes working directory). I would suggest customising your tab titles through your shell (as above) to include the information you want to search on, or if they're long-running tweaking them manually with Cmd+I. Unfortunately, iTerm2 doesn't expose the working directory, so this is unavailable to filter on without further effort on your part. I suggest you refer to the iTerm2 FAQ and customise your shell to a title that better matches your needs. In your case, I can only surmise that your sessions have tabs/sessions have been set as displayed.

Combine iterm windows full#

I display the full session title as reported by iTerm2.

combine iterm windows combine iterm windows combine iterm windows

Update: Please try my v1.2-beta1 pre-release for OSX 10.11 compatibility!

Combine iterm windows code#

I suspect an incompatibility with my JXA code and OSX 10.11 I'd only tested on 10.12 and 10.13 beta.













Combine iterm windows