Skip to content
Snippets Groups Projects
Commit f4fb1ff2 authored by Martin Janů's avatar Martin Janů :seedling:
Browse files

Use diff's side-by-side display option by default.

parent 88ac3ddd
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,13 @@ alias "ghc"="ghc -dynamic"
alias "less"="less -R"
###
### Better diff
# Note: not an alias so that `tput cols` gets always evaluated
diff() {
command diff --color=auto --side-by-side -W `tput cols` $@
}
###
### Colored man pages
man() {
LESS_TERMCAP_md=$'\e[01;31m' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment