From 367193dd480b3807ab946962ba58a3c58748c6a3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 19 Jul 2008 18:46:54 +0200 Subject: etc/alias/short: Added git-serve and rsync-serve aliases --- etc/alias/short | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/alias/short b/etc/alias/short index 340ea8c..8124280 100644 --- a/etc/alias/short +++ b/etc/alias/short @@ -92,6 +92,7 @@ alias gitf='git pull' alias gitl='git log' alias gitp='git push' alias gits='git status' +alias git-serve='git-daemon --export-all --base-path=. .' ## Mercurial (hg) alias hga='hg add' @@ -124,6 +125,8 @@ alias rd='rmdir' # Useful when a beamer is connected to my laptop alias rplayer='mplayer -vo x11 -zoom -vf scale=1024:-2' +alias rsync-serve="rsync --daemon --port=10873 --no-detach --config=/dev/stdin --log-file=/dev/stdout -v <<< $'[.]\n\tpath = .\n\tuse chroot = no'" + ## Suspend alias s2d='sudo s2disk' alias s2r='sudo s2ram -f' -- cgit v1.2.3