citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

diffs-job (227B)


      1 #!/usr/bin/env sh
      2 
      3 file="$1"
      4 base="$(basename "$file")"
      5 dir="$(dirname "$file")"
      6 colorfile="$dir/.${base}.color"
      7 
      8 printf "$colorfile\n"
      9 exec delta < "$file" > "$colorfile"
     10 #<"$file" sed '0,/^$/d;0,/^$/d' | delta > "$colorfile"