From 0d71921548ac559f870b9d6ce6a80d1c0c13b0af Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 22 Jul 2008 14:36:50 +0200 Subject: Moved hgd and gitd to functions so there's always highlighting --- etc/alias/short | 4 ++-- etc/functions/gitd | 1 + etc/functions/hgd | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 etc/functions/gitd create mode 100644 etc/functions/hgd diff --git a/etc/alias/short b/etc/alias/short index 59c763d..daf75d8 100644 --- a/etc/alias/short +++ b/etc/alias/short @@ -87,7 +87,7 @@ alias feht='feh -Tthumbnail' # List thumbnails ## Git alias gita='git add' alias gitc='git commit -m' -alias gitd='git diff' +# gitd is a function, see there alias gitf='git pull' alias gitl='git log' alias gitp='git push' @@ -98,7 +98,7 @@ alias git-serve='git-daemon --export-all --base-path=. .' alias hga='hg add' alias hgar='hg addremove' alias hgc='hg commit -m' -alias hgd='hg diff | highlight diff | less' +# hgd is a function, see there alias hgf='hg fetch' alias hgg='hg glog | less' alias hgh='hg heads' diff --git a/etc/functions/gitd b/etc/functions/gitd new file mode 100644 index 0000000..80b7d34 --- /dev/null +++ b/etc/functions/gitd @@ -0,0 +1 @@ +git-diff $* | highlight diff | less diff --git a/etc/functions/hgd b/etc/functions/hgd new file mode 100644 index 0000000..6200d8b --- /dev/null +++ b/etc/functions/hgd @@ -0,0 +1 @@ +hg diff $* | highlight diff | less -- cgit v1.2.3