From: Simon Ruderich Date: Wed, 3 Mar 2021 08:48:10 +0000 (+0100) Subject: shell: alias: add cal alias with useful options X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=c99ee2aab00f6e09c5ea4d887ac6722894d6dc37 shell: alias: add cal alias with useful options In the past, Debian's `cal` used to color the current day which was enough for my use. But recently this changed to the more traditional `cal` output with no highlight. So use `ncal` directly and add other useful options. --- diff --git a/shell/shell/aliases.in b/shell/shell/aliases.in index c78823d..a173010 100644 --- a/shell/shell/aliases.in +++ b/shell/shell/aliases.in @@ -141,4 +141,8 @@ fi # Use short `ip` output per default. alias ip='ip -brief -color=auto' +# Calendar with traditional output (-b), weeks starting on Monday (-M), week +# numbers (-w) and the previous, current and next month (-3) +alias cal='ncal -b -M -w -3' + # vim: ft=sh