TheNewNormal / kube-solo-osx

Local development Kubernetes Solo Cluster for macOS made very simple
Apache License 2.0
575 stars 29 forks source link

Not working if iTerm2 sends text at start #147

Open olalonde opened 8 years ago

olalonde commented 8 years ago
screenshot 2016-10-28 16 08 36

mcfsk7uiwa

Is there any way to get Kube-Solo to use the window started by tmux and/or be able to configure a non default iTerm2 profile which will be used?

rimusz commented 8 years ago

The default Terminal would be easier to be used instead of tmux The required terminal app could be stored in some settings file and used opening shell scripts

olalonde commented 8 years ago

Indeed. Trying to make it work with tmux seems like a bit of a PITA. Another option would be to see if a flag can be passed to open -a iTerm.app "$1"/first-init.command to tell iTerm to ignore the "send text at start" setting. That would probably be ideal. What do you think? (asked here https://gitlab.com/gnachman/iterm2/issues/5288)

olalonde commented 8 years ago

Looks like another way would be to chose a profile called "kube-solo" if it exists and otherwise use the default profile: https://www.iterm2.com/documentation-scripting.html. That way, I could create a "kube-solo" profile which doesn't send text at start.

olalonde commented 8 years ago

Oh, looks like there will be a new option in iTerm to "disabled text at start when opening a script" https://gitlab.com/gnachman/iterm2/issues/5288. 👍

rimusz commented 8 years ago

ok, cool