CrunchBang Linux Pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

CrunchBang Linux Pastebin

Posted by pnd4 on Tue 5th Mar 17:55 (modification of post by view diff)
download | new post

  1. #!/bin/bash
  2.  
  3. # Script to open Vimprobable2 instances in tabbed
  4. # Modified version of jasonwryan's checks for running instances of tabbed first.
  5. # Thanks to Vimprobable2 and Suckless Dev's for the programs :D
  6. # -- pnd4
  7.  
  8. if [ `pgrep tabbed` ]; then
  9.         vimprobable2 -e $(</tmp/tabbed.xid) $1
  10. else
  11.         tabbed -d > /tmp/tabbed.xid
  12.         vimprobable2 -e $(</tmp/tabbed.xid) $1
  13. fi

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me