Skip to content
Snippets Groups Projects
Commit f570c8e7 authored by Richard Hartmann's avatar Richard Hartmann
Browse files

Improve docs

parent db873010
No related branches found
No related tags found
No related merge requests found
...@@ -81,26 +81,20 @@ Then look around in the clone. Should be reasonable simple to understand. If not ...@@ -81,26 +81,20 @@ Then look around in the clone. Should be reasonable simple to understand. If not
# Clone vcsh and make it available # Clone vcsh and make it available
git clone git://github.com/RichiH/vcsh.git vcsh git clone git://github.com/RichiH/vcsh.git vcsh
PATH+=":$HOME/work/git/vcsh" sudo ln -s ~/work/git/vcsh/vcsh /usr/bin/local
export PATH hash -r
# Grab my mr config. see below for details on how I set this up # Grab my mr config. see below for details on how I set this up
~/work/git/vcsh/vcsh clone ssh://<remote>/mr.git vcsh clone ssh://<remote>/mr.git
cd ~/.config/mr/config.d/ cd ~/.config/mr/config.d/
ln -s ../available.d/* . ln -s ../available.d/* .
# make vcsh work by default. Adapt for Bash etc as needed
cd
zsh ~/work/git/vcsh/vcsh clone ssh://<remote>/zsh.git
ln -s ~/work/git/vcsh/vcsh .zsh/functions
zsh
################ ################
# mr # mr is used to actually retrieve configs, etc
~ % cat ~/.mrconfig ~ % cat ~/.mrconfig
[DEFAULT] [DEFAULT]
......
...@@ -3,10 +3,10 @@ vcsh - manage and sync config files via git ...@@ -3,10 +3,10 @@ vcsh - manage and sync config files via git
vcsh allows you to have several git repositories, all maintaining their working trees in $HOME without clobbering each other. vcsh allows you to have several git repositories, all maintaining their working trees in $HOME without clobbering each other.
That, in turn, means you can have one repository per config set (zsh, vim, ssh, etc), picking and choosing which configs you want to use on which machine. That, in turn, means you can have one repository per config set (zsh, vim, ssh, etc), picking and choosing which configs you want to use on which machine.
It's been written for use with zsh, but it works with bash and even sh. Expect full support for /bin/sh soonish. vcsh was designed with mr [1] in mind so you might want to install that, as well.
vcsh was designed with mr [1] in mind so you might want to install that, as well. Read INSTALL for detailed setup instructions.
Questions? RichiH@{freenode,OFTC,IRCnet} Questions? RichiH@{freenode,OFTC,IRCnet}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment