Last active
December 23, 2015 20:29
-
-
Save zeekay/6690143 to your computer and use it in GitHub Desktop.
Create a copy of iTerm called iTermVisor which will run in background on login, only uses visor.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create-visor() { | |
local p='/Applications' | |
cp -rf $p/iTerm.app $p/iTermVisor.app | |
mv $p/iTermVisor.app/Contents/MacOS/iTerm $p/iTermVisor.app/Contents/MacOS/iTermVisor | |
defaults write $p/iTermVisor.app/Contents/Info CFBundleIdentifier com.googlecode.iterm2visor | |
defaults write $p/iTermVisor.app/Contents/Info CFBundleExecutable iTermVisor | |
defaults write $p/iTermVisor.app/Contents/Info CFBundleName iTermVisor | |
defaults write $p/iTermVisor.app/Contents/Info LSUIElement 1 | |
rm -rf ~$p/iTermVisor.app | |
mv $p/iTermVisor.app ~$p | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment