Skip to content

Commit

Permalink
zshrc: unify cat<< syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
moviuro committed Apr 14, 2015
1 parent 386c0c4 commit 8e8677d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions etc/zsh/zshrc
Expand Up @@ -2061,7 +2061,7 @@ function grml_theme_has_token () {
}

function GRML_theme_add_token_usage () {
cat <<__EOF__
cat <<__EOF0__
Usage: grml_theme_add_token <name> [-f|-i] <token/function> [<pre> <post>]
<name> is the name for the newly added token. If the \`-f' or \`-i' options
Expand Down Expand Up @@ -2102,7 +2102,7 @@ function GRML_theme_add_token_usage () {
After that, you will be able to use a changed \`items' style to
assemble your prompt.
__EOF__
__EOF0__
}

function grml_theme_add_token () {
Expand Down Expand Up @@ -2609,12 +2609,12 @@ fi
if [[ -L /usr/bin/cdrecord ]] || ! check_com -c cdrecord; then
if check_com -c wodim; then
cdrecord() {
cat <<EOMESS
cat <<__EOF0__
cdrecord is not provided under its original name by Debian anymore.
See #377109 in the BTS of Debian for more details.
Please use the wodim binary instead
EOMESS
__EOF0__
return 1
}
fi
Expand Down Expand Up @@ -3035,7 +3035,7 @@ bk() {
m) unset keep clean && (( ++move ));;
r) unset move keep && (( ++clean ));;
v) verbose="-v";;
h) cat << EOT
h) cat <<__EOF0__
bk [-hcmv] FILE [FILE ...]
bk -r [-av] [FILE [FILE ...]]
Backup a file or folder in place and append the timestamp
Expand All @@ -3054,7 +3054,7 @@ The -c, -r and -m options are mutually exclusive. If specified at the same time,
the last one is used.
The return code is the sum of all cp/mv/rm return codes.
EOT
__EOF0__
return 0;;
\?) bk -h >&2; return 1;;
esac
Expand Down

0 comments on commit 8e8677d

Please sign in to comment.