diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-19 18:46:54 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-07-19 18:46:54 +0200 |
commit | 367193dd480b3807ab946962ba58a3c58748c6a3 (patch) | |
tree | 9a3c46e8ba631282139664ff7f1e741164cbdc4e /etc/alias/short | |
parent | 6ba1e5ed8cb0f65f587c448f6801becd5010aa94 (diff) |
etc/alias/short: Added git-serve and rsync-serve aliases
Diffstat (limited to 'etc/alias/short')
-rw-r--r-- | etc/alias/short | 3 |
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' |