daneah / iterm-components

:computer: Custom status bar components for use with iTerm2
https://www.iterm2.com/3.3/documentation-status-bar.html
MIT License
69 stars 9 forks source link

Get components working on latest iTerm2 #17

Closed daneah closed 2 years ago

daneah commented 2 years ago

To register properly with iTerm2, it appears components must:

  1. Not be symlinked files
  2. Be executable

In addition, it appears that components no longer run in the user's login context—I needed to update the kubectl component to directly reference /usr/local/bin/kubectl, as an example. I tried getting the environment variable component to work to no avail, and it was likely due to this challenge as well.

Fixes #15 Fixes #12 Not sure about #16—I still haven't run into that error. Maybe it's fixed?