projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a20f37a
)
gS is too hard to type quickly, because of space
author
Sergey Matveev <stargrave@stargrave.org>
Tue, 24 Dec 2019 08:51:29 +0000 (11:51 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Tue, 24 Dec 2019 08:51:29 +0000 (11:51 +0300)
zsh/.zshrc
patch
|
blob
|
history
diff --git
a/zsh/.zshrc
b/zsh/.zshrc
index 32125143c1d8dfbca070aeb00a340949d313831a..b4d8203bd0427e2691561ff4625beecaa68a77bc 100644
(file)
--- a/
zsh/.zshrc
+++ b/
zsh/.zshrc
@@
-115,7
+115,7
@@
LESS_COLORED="less --RAW-CONTROL-CHARS"
g() {
$GREP ${=GREP_ARGS} $@ | ${=LESS_COLORED}
}
-
g
S() {
+
G
S() {
$GREP ${=GREP_ARGS} $@ | sort --numeric-sort | ${=LESS_COLORED}
}
alias -g G="| $GREP --color"