Add a readme
This commit is contained in:
parent
ec7233f3b0
commit
1c1ef49f20
|
@ -0,0 +1,17 @@
|
|||
# Clone repo
|
||||
git clone --bare https://kitsunehosting.net/gitea/Kenwood/dotfiles.git $HOME/.dotfiles
|
||||
|
||||
# Make a temp alias (will be perminant via .zshrc)
|
||||
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
||||
|
||||
# Pull stuff down!
|
||||
config checkout
|
||||
|
||||
# If things offend, backup or delete existing/differeing files.
|
||||
# This could work but idk
|
||||
mkdir -p .config-backup && \
|
||||
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
|
||||
xargs -I{} mv {} .config-backup/{}
|
||||
|
||||
# Also use this to keep it all neat!
|
||||
config config --local status.showUntrackedFiles no
|
Loading…
Reference in New Issue