summaryrefslogtreecommitdiff
path: root/calhighlight.sh
blob: 6f91ef72db5def248cac27f4cc896d185718b0ef (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
# Highlight the current date when using cal
function cal() {
	    if [ -t 1 ]; 
	    then ncal -b "${@}"; 
	    else command cal "${@}"; 
	    fi
	}