1
0

zsh: treewide: minor fixes/style

This commit is contained in:
2022-07-19 02:41:45 +03:00
parent 0ec196bef2
commit 724df8e2d8
21 changed files with 102 additions and 51 deletions

View File

@@ -2,6 +2,7 @@
z-history() {
local list
zparseopts -E l=list
if [[ -n "$list" ]]; then
builtin fc "$@"
@@ -11,6 +12,8 @@ z-history() {
}
z-grephist() {
local what=$1 ; shift
z-history -m "*${what}*" "$@"
local x
x=$1 ; shift
z-history -m "*${x}*" "$@"
}