update README with new dev/ prefix

master
Andrew Coleman 2021-02-08 16:24:38 -05:00
parent 1ee1b4c11c
commit c4161afe96
1 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@ These are my dotfiles, useful for my own shell configuration and not much else.
#!/bin/sh
#Initialization script sourced from Atlassian: https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/
git clone --bare ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git
mkdir -p $HOME/dev
git clone --bare ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git dev/dotfiles.git
function config {
/usr/bin/git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME $@
/usr/bin/git --git-dir=$HOME/dev/dotfiles.git/ --work-tree=$HOME $@
}
mkdir -p .config-backup
config checkout