[Fix #60] Do not use parentheses in function names

This commit is contained in:
Sorin Ionescu 2012-03-23 14:57:51 -04:00
commit 6a9a4ea8d6
22 changed files with 66 additions and 67 deletions

View file

@ -99,7 +99,7 @@ fi
# Diff/Make
if zstyle -t ':omz:alias:diff' color; then
function diff() {
function diff {
if (( $+commands[colordiff] )); then
"$commands[diff]" --unified "$@" | colordiff --difftype diffu
elif (( $+commands[git] )); then
@ -109,7 +109,7 @@ if zstyle -t ':omz:alias:diff' color; then
fi
}
function wdiff() {
function wdiff {
if (( $+commands[wdiff] )); then
"$commands[wdiff]" \
--avoid-wraps \