mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
rename diff to sdiff in common aliases
because diff is already a common command! Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
29c5785e4a
commit
87bcbe7fe1
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ alias saguagu="sudo apt-get update && sudo apt-get upgrade"
|
|||
# Use Git’s colored diff when available
|
||||
hash git &>/dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
function diff() {
|
||||
function sdiff() {
|
||||
git diff --no-index --color-words "$@"
|
||||
}
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue