.homeinit: fix.
parent
50560f9610
commit
428a45bd53
14
.homeinit
14
.homeinit
|
@ -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
11
README
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue