Skip to content

Instantly share code, notes, and snippets.

View grechaua's full-sized avatar

Yuriy Grechanyi grechaua

View GitHub Profile

Keybase proof

I hereby claim:

  • I am grechaua on github.
  • I am grecha (https://keybase.io/grecha) on keybase.
  • I have a public key whose fingerprint is E331 CA72 647E B61F C563 967C B368 4854 691C 3343

To claim this, I am signing this object:

@grechaua
grechaua / iterm2.zsh
Last active August 29, 2015 14:25 — forked from wadey/iterm2.zsh
# Usage:
# source iterm2.zsh
# iTerm2 window/tab color commands
# Requires iTerm2 >= Build 1.0.0.20110804
# http://code.google.com/p/iterm2/wiki/ProprietaryEscapeCodes
tab-color() {
echo -ne "\033]6;1;bg;red;brightness;$1\a"
echo -ne "\033]6;1;bg;green;brightness;$2\a"
echo -ne "\033]6;1;bg;blue;brightness;$3\a"