summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-22 14:36:50 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-22 14:36:50 +0200
commit0d71921548ac559f870b9d6ce6a80d1c0c13b0af (patch)
treeefc7fb0fb841efc82de4d740989bf05341c46d36 /etc/functions
parent4844add96faef1e3b8f8b16eaf083979febb4450 (diff)
Moved hgd and gitd to functions so there's always highlighting
Diffstat (limited to 'etc/functions')
-rw-r--r--etc/functions/gitd1
-rw-r--r--etc/functions/hgd1
2 files changed, 2 insertions, 0 deletions
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