.homeinit: fix.

master
Pierre Neidhardt 2013-01-09 21:28:52 +01:00
parent 50560f9610
commit 428a45bd53
2 changed files with 18 additions and 19 deletions

View File

@ -1,20 +1,8 @@
#!/bin/sh
################################################################################
## Home session initialization.
## 2012-12-31
## 2013-01-09
################################################################################
## Fetch source from Git repo:
# cd
# git init
# git remote add origin https://github.com/Ambrevar/home-config.git
# git fetch
# git branch master origin/master
# git checkout master
################################################################################
## The following is used as first-run setup.
SOURCEDIR="${HOME}/personal/dataperso"
[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
[ -z "$XDG_DATA_HOME" ] && XDG_DATA_HOME="$HOME/.local/share"

11
README
View File

@ -35,6 +35,17 @@ only. A more convenient solution:
shopt -s dotglob
cp -r source-dir/* dest-dir/
Git makes it possible to use your home folder as a git repo, thus versioning
all files directly. To fetch source from Git repo:
cd
git init
git remote add origin https://github.com/Ambrevar/home-config.git
git fetch
git branch master origin/master
git checkout master
################################################################################
Some applications will need extra dependencies other than the default ones. You
might have a look at the .pkg-* files to see what software I've been using.