3 ms·
I'm concerned about the wget to an external server part. This file should be local to prevent excessive slowness and potential security issues. Also, is there
by DiabloD3 11y ago
I'm concerned about the wget to an external server part. This file should be local to prevent excessive slowness and potential security issues.
Also, is there a zsh version of this file? zsh is extremely popular on osx.
- gnachman 11y agoThe linked page explains how to install by hand. I'd like to eliminate the curl|bash. It's tricky to deploy a shell script in a terminal emulator, so it hasn't been done yet. The ability to fix bugs without making users upgrade their client has been invaluable during early beta.
- glenjamin 11y agoWould it be possible for iTerm to "type" the whole thing in for me? It's already executing a curl, can it do the whole thing through the host?
- gnachman 11y agoThat's the eventual plan. There are a million niggling details, so I didn't do it yet.
- DiabloD3 11y agoWell, if all I have to do is run the script, I can just import it into my git repo (by submoduling iterm2's git repo, if they have one; if they don't, they need one just for this script), and just call it normally (with a bit of if wrapper to not execute on non-iterm2 terms).
- gnachman 11y agoYes, all you have to do is source the script at https://iterm2.com/misc/${SHELL}_startup.in https://iterm2.com/misc/${SHELL}_startup.in from your ~/.login, ~/.zshrc, ~/.bash_profile, or ~/.config/fish/config.fish as appropriate. If there's ever a major change you'll get a notification when you log in and you'll need to update it, but that hasn't happened yet.
- DiabloD3 11y agoThat works for me.
- BozeWolf 11y agoIt would have been nice if the bash line contained a way to compare hashes to verify the script is untouched.(store the hash file on a 3rd party server like s3) Or pgp sign the script in some way.