ob-tmux icon indicating copy to clipboard operation
ob-tmux copied to clipboard

What should I set the terminal to on macOS?

Open NightMachinery opened this issue 5 years ago • 3 comments

There is no xterm on macOS.

NightMachinery avatar Aug 19 '20 13:08 NightMachinery

Late response, hopefully you've found the answer but for anyone else looking.

You should set the terminal variable to point to an executable that will take command line options. The Mac Terminal (built-in) doesn't have that capability, or at least I haven't seen it mentioned anywhere. Alternatively, you can use iterm or alacritty. I've the following settings:

(org-babel-tmux-terminal "alacritty") (org-babel-tmux-terminal-opts '("-t" "ob-tmux" "-e"))

For iterm, you have to point to the executable inside the application package (/Applications/iTerm.app/Contents/MacOS/iTerm2).

harizvi avatar Jul 07 '21 19:07 harizvi

Happy to see that you got it to work!

Thank you for sharing your solution!

On 7 Jul 2021, at 21:54, Haider Rizvi @.***> wrote:

 Late response, hopefully you've found the answer but for anyone else looking.

You should set the terminal variable to point to an executable that will take command line options. The Mac Terminal (built-in) doesn't have that capability, or at least I haven't seen it mentioned anywhere. Alternatively, you can use iterm or alacritty. I've the following settings:

(org-babel-tmux-terminal "alacritty") (org-babel-tmux-terminal-opts '("-t" "ob-tmux" "-e"))

For iterm, you have to point to the executable inside the application package (/Applications/iTerm.app/Contents/MacOS/iTerm2).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ahendriksen avatar Jul 07 '21 20:07 ahendriksen

Allard,

This is just the basic setup, thought I'll share how I've setup.

Controlling a remote tmux issue is still there, I shared more info with the permissions setup over there.

harizvi avatar Jul 07 '21 21:07 harizvi