summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-07-19 18:46:54 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-07-19 18:46:54 +0200
commit367193dd480b3807ab946962ba58a3c58748c6a3 (patch)
tree9a3c46e8ba631282139664ff7f1e741164cbdc4e
parent6ba1e5ed8cb0f65f587c448f6801becd5010aa94 (diff)
etc/alias/short: Added git-serve and rsync-serve aliases
-rw-r--r--etc/alias/short3
1 files changed, 3 insertions, 0 deletions
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'