summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/alias/short4
-rw-r--r--etc/functions/gitd1
-rw-r--r--etc/functions/hgd1
3 files changed, 4 insertions, 2 deletions
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