mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 08:41:43 +00:00
committed by
Sorin Ionescu
parent
5232191cbe
commit
fb9a20591f
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
function diff {
|
||||
if zstyle -t ':omz:module:utility:diff' color; then
|
||||
if zstyle -t ':prezto:module:utility:diff' color; then
|
||||
if (( $+commands[colordiff] )); then
|
||||
command diff --unified "$@" | colordiff --difftype diffu
|
||||
elif (( $+commands[git] )); then
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
function make {
|
||||
if zstyle -t ':omz:module:utility:make' color; then
|
||||
if zstyle -t ':prezto:module:utility:make' color; then
|
||||
if (( $+commands[colormake] )); then
|
||||
colormake "$@"
|
||||
else
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
function wdiff {
|
||||
if zstyle -t ':omz:module:utility:wdiff' color; then
|
||||
if zstyle -t ':prezto:module:utility:wdiff' color; then
|
||||
if (( $+commands[wdiff] )); then
|
||||
command wdiff \
|
||||
--avoid-wraps \
|
||||
|
Reference in New Issue
Block a user