.zshrc: Add an alias for vimdiff

pkgsrc doesn't provide a `vimdiff` wrapper, and it's just `vim -d`
anyways, so we can just alias it and then use the vim from pkgsrc.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-08-02 09:38:06 +03:00
parent 89506851a4
commit 94e7b2d1bd
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 2 additions and 0 deletions

2
.zshrc
View File

@ -43,6 +43,8 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
alias sed='gsed'
alias dircolors='gdircolors'
alias sort='gsort'
# pkgsrc doesn't provide vimdiff wrapper, but it's just `vim -d` anyways
alias vimdiff='vim -d'
# If BasicTeX installation exists, add it to PATH
# See: https://tug.org/mactex/morepackages.html