Skip to content

Instantly share code, notes, and snippets.

@prabirshrestha
Forked from jimeh/tmux-for-iterm2.rb
Last active December 16, 2015 04:29
Show Gist options
  • Save prabirshrestha/5377918 to your computer and use it in GitHub Desktop.
Save prabirshrestha/5377918 to your computer and use it in GitHub Desktop.

Revisions

  1. prabirshrestha revised this gist Apr 13, 2013. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions tmux-for-iterm2.rb
    Original file line number Diff line number Diff line change
    @@ -1,22 +1,22 @@
    require 'formula'

    class TmuxForIterm2 < Formula
    url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20120108.tar.gz'
    md5 'f15d9f567b9b029482bb7b3227ee7ac3'
    url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20130319.tar.gz'
    #SHA1 'f14a0bad6991b9e3380d5c3a6057e09f62597d1f'
    homepage 'http://code.google.com/p/iterm2/wiki/TmuxIntegration'

    depends_on 'libevent'

    def install
    ENV.append "LDFLAGS", '-lresolv'
    system "./configure", "--disable-dependency-tracking",
    "--prefix=#{prefix}", "--sysconfdir=#{etc}"
    system "make install"

    # Install bash completion scripts for use with bash-completion
    (prefix+'etc/bash_completion.d').install "examples/bash_completion_tmux.sh" => 'tmux'
    end

    def caveats; <<-EOS.undent
    Bash completion script was installed to:
    #{etc}/bash_completion.d/tmux
  2. @jimeh jimeh revised this gist Jan 23, 2012. 1 changed file with 3 additions and 4 deletions.
    7 changes: 3 additions & 4 deletions tmux-for-iterm2.rb
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,9 @@
    require 'formula'

    class TmuxForIterm2 < Formula
    url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20111219.tar.gz'
    md5 'f01fe4f79d97980e810fd49400f8633f'
    homepage 'http://code.google.com/p/iterm2/downloads/detail?' +
    'name=tmux-for-iTerm2-20111219.tar.gz'
    url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20120108.tar.gz'
    md5 'f15d9f567b9b029482bb7b3227ee7ac3'
    homepage 'http://code.google.com/p/iterm2/wiki/TmuxIntegration'

    depends_on 'libevent'

  3. @jimeh jimeh created this gist Dec 21, 2011.
    26 changes: 26 additions & 0 deletions tmux-for-iterm2.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    require 'formula'

    class TmuxForIterm2 < Formula
    url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20111219.tar.gz'
    md5 'f01fe4f79d97980e810fd49400f8633f'
    homepage 'http://code.google.com/p/iterm2/downloads/detail?' +
    'name=tmux-for-iTerm2-20111219.tar.gz'

    depends_on 'libevent'

    def install
    ENV.append "LDFLAGS", '-lresolv'
    system "./configure", "--disable-dependency-tracking",
    "--prefix=#{prefix}", "--sysconfdir=#{etc}"
    system "make install"

    # Install bash completion scripts for use with bash-completion
    (prefix+'etc/bash_completion.d').install "examples/bash_completion_tmux.sh" => 'tmux'
    end

    def caveats; <<-EOS.undent
    Bash completion script was installed to:
    #{etc}/bash_completion.d/tmux
    EOS
    end
    end