start new:
tmux
start new with session name:
tmux new -s myname
function git_branch { | |
git branch --no-color 2> /dev/null | egrep '^\*' | sed -e 's/^* //' | |
} | |
function git_dirty { | |
# only tracks modifications, not unknown files needing adds | |
if [ -z "`git status -s | awk '{print $1}' | grep '[ADMTU]'`" ] ; then | |
return 1 | |
else | |
return 0 |
use strict; | |
use Irssi qw(command_bind MSGLEVEL_HILIGHT); | |
use vars qw($VERSION %IRSSI); | |
# Recommended key bindings: alt+pgup, alt+pgdown: | |
# /bind meta2-5;3~ /scrollback prev | |
# /bind meta2-6;3~ /scrollback next | |
$VERSION = '0.02'; | |
%IRSSI = ( |
This guide will explain how you can make irc messages in a screen on a remote server appear in your Mac OS X Lion Notification Center with the help of terminal-notifier.
We will also explain how the process can be automatically started each time you log in to your Mac and ensure the connection to the server is kept alive.
# Bender random quote script for IRSSI | |
# | |
# This just sends a random bender quote to the active channel or query window. | |
# | |
# Usage: | |
# /bender | |
# | |
# That is all. | |
use strict; |
# Homer random quote script for IRSSI | |
# | |
# This just sends a random Homer quote to the active channel or query window. | |
# | |
# Usage: | |
# /homer | |
# | |
# That is all. | |
use strict; |