mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 04:32:14 +08:00
Merge 84e0787411
into 6e564503f1
This commit is contained in:
commit
876373bebb
@ -10,7 +10,7 @@
|
||||
local archive_name path_to_archive _gzip_bin _bzip2_bin _xz_bin _zstd_bin
|
||||
|
||||
if (( $# < 2 )); then
|
||||
cat >&2 <<EOF
|
||||
>&2 <<EOF
|
||||
usage: $0 [archive_name.zip] [/path/to/include/into/archive ...]
|
||||
|
||||
Where 'archive.zip' uses any of the following extensions:
|
||||
|
@ -10,7 +10,7 @@
|
||||
local verbose
|
||||
|
||||
if (( $# == 0 )); then
|
||||
cat >&2 <<EOF
|
||||
>&2 <<EOF
|
||||
usage: $0 [-option] [file ...]
|
||||
|
||||
options:
|
||||
|
@ -15,7 +15,7 @@ local extract_dir
|
||||
local _gzip_bin _bzip2_bin _xz_bin _zstd_bin
|
||||
|
||||
if (( $# == 0 )); then
|
||||
cat >&2 <<EOF
|
||||
>&2 <<EOF
|
||||
usage: $0 [-option] [file ...]
|
||||
|
||||
options:
|
||||
|
@ -26,7 +26,7 @@ case "$1" in
|
||||
zcat $(ls -rt /var/log/dpkg*)
|
||||
;;
|
||||
(*)
|
||||
cat >&2 <<EOF
|
||||
>&2 <<EOF
|
||||
Commands:
|
||||
install - List installed packages
|
||||
upgrade - List upgraded packages
|
||||
|
@ -9,8 +9,7 @@
|
||||
|
||||
local usage pattern modifiers invert
|
||||
|
||||
usage="$(
|
||||
cat <<EOF
|
||||
usage="$(<<EOF
|
||||
usage: $0 [-option ...] [--] pattern [file ...]
|
||||
|
||||
options:
|
||||
|
@ -9,8 +9,7 @@
|
||||
|
||||
local usage pattern replacement modifiers
|
||||
|
||||
usage="$(
|
||||
cat <<EOF
|
||||
usage="$(<<EOF
|
||||
usage: $0 [-option ...] [--] pattern replacement [file ...]
|
||||
|
||||
options:
|
||||
|
@ -9,8 +9,7 @@
|
||||
|
||||
# function zsh-help {
|
||||
|
||||
local usage="$(
|
||||
cat <<EOF
|
||||
local usage="$(<<EOF
|
||||
usage: $0 [--help] [--zsh-help-debug] [--all] search term(s)
|
||||
Options:
|
||||
--all - search for the term anywhere, not just at the start of a line.
|
||||
|
Loading…
Reference in New Issue
Block a user