From f88a1c0d2b98246f0a1ffa44c8013ba87e7c8b5b Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 24 Dec 2019 11:51:29 +0300 Subject: [PATCH] gS is too hard to type quickly, because of space --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.44.0