From: Sergey Matveev Date: Tue, 24 Dec 2019 08:51:29 +0000 (+0300) Subject: gS is too hard to type quickly, because of space X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=f88a1c0d2b98246f0a1ffa44c8013ba87e7c8b5b gS is too hard to type quickly, because of space --- diff --git a/zsh/.zshrc b/zsh/.zshrc index 3212514..b4d8203 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -115,7 +115,7 @@ LESS_COLORED="less --RAW-CONTROL-CHARS" g() { $GREP ${=GREP_ARGS} $@ | ${=LESS_COLORED} } -gS() { +GS() { $GREP ${=GREP_ARGS} $@ | sort --numeric-sort | ${=LESS_COLORED} } alias -g G="| $GREP --color"