From e1d9b3df9f5b1533fefd4901693f9edb900bf321 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 4 Dec 2015 03:30:21 -0500 Subject: [PATCH] Add ediff alias --- zsh/aliases.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index da1a8f95..714c1ae7 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -70,6 +70,9 @@ e() { # Open in emacs (daemon) ee() { # emacs in project root git root 2>/dev/null && e "$(git rev-parse --show-toplevel)" || e . } +ediff() { + e --eval "(ediff-files \"$1\" \"$2\")" +} # Compilers, interpretors 'n builders alias va='vagrant'