dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

ic (237B) [raw]


      1 #!/bin/sh
      2 # ic -- taking the simple out of sic(1)
      3 set -e
      4 mkdir -p "$HOME/.irc"
      5 LOG="$HOME/.irc/$(date +%Y-%m-%d).log"
      6 
      7 if [ -z "$NOCOLOR" ]; then
      8     rlwrap sic "$@" | tee -a "$LOG" | siccolor
      9 else
     10     rlwrap sic "$@" | tee -a "$LOG"
     11 fi