Skip to content

Commit

Permalink
add comments on finding the deps
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemao committed Feb 11, 2016
1 parent 6a01d75 commit feceb50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion diff-so-fancy
Expand Up @@ -2,8 +2,10 @@

[ $# -ge 1 -a -f "$1" ] && input="$1" || input="-"

hash gsed 2>/dev/null && SED=gsed || SED=sed
# find my sed
hash gsed 2> /dev/null && SED=gsed || SED=sed

# find my diff-highlight
if hash diff-highlight 2> /dev/null; then
diff_highlight=diff-highlight
else
Expand Down

0 comments on commit feceb50

Please sign in to comment.