I am frequently working with subversion in console using its client svn
. One of common tasks is viewing svn log
; however its output is usually pretty massive despite of --limit
option. I would like to pipe the output to my $PAGER
(which is less
to be exact), just like git log
does. I wonder if this can be achieved with zsh
advanced completion features; i.e. whenever I type
svn log path1 path2 path3<Enter>
the piping construction will be appended:
svn log path1 path2 path3 | $PAGER
This resembles to me the way aliases work, but from the "other side".
Is this possible in zsh?