From: Richard Hartmann Date: Sat, 4 Jun 2011 08:43:24 +0000 (+0200) Subject: Added rudimentary INSTALL file X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/558f3284dc552756546eb02be32ec3e737e7a3b0?ds=sidebyside Added rudimentary INSTALL file --- diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..5813f80 --- /dev/null +++ b/INSTALL @@ -0,0 +1,41 @@ +# This is how my setup looks. Adapt to your style or copy mine verbatim, both is fine. + +# Create workspace +mkdir -p ~/work/git +cd !$ + +# Clone vcsh and make it available +git clone git://github.com/RichiH/vcsh.git vcsh-readonly +PATH+=":/home/richih/work/git/vcsh-readonly" +export PATH + +# Grab my mr config. see below for details on how I set this up +zsh ~/work/git/vcsh-readonly/vcsh clone ssh:///mr.git +cd ~/.config/mr/config.d/ +ln -s ../available.d/* . + +# make vcsh work by default. Adapt for Bash etc as needed +cd +zsh ~/work/git/vcsh-readonly/vcsh clone ssh:///zsh.git +ln -s ~/work/git/vcsh-readonly/vcsh .zsh/functions +zsh + + + + +################ + +# mr + +~ % cat ~/.mrconfig +[DEFAULT] +include = cat ~/.config/mr/config.d/* +~ % echo $XDG_CONFIG_HOME +/home/richih/.config +~ % ls $XDG_CONFIG_HOME/mr/available.d # random selection of my repos +git-annex gitk.vcsh git.vcsh ikiwiki mr.vcsh reportbug.vcsh snippets.git wget.vcsh zsh.vcsh +~ % +# then simply ln -s whatever you want on your local machine from +# $XDG_CONFIG_HOME/mr/available.d to $XDG_CONFIG_HOME/mr/config.d +~ % cd +~ % mr -j 5 up