From 3e33db31e322da2321dca72bd472734e37945513 Mon Sep 17 00:00:00 2001 From: KenwoodFox Date: Sun, 30 May 2021 18:08:57 -0400 Subject: [PATCH] Renamed and made readme more standard. --- README.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f4c6fcc --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# 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/.dotfiles/ --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 + + +# Also, clone all the zsh plugins +# Autocompletions +git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions + +# Syntax highlighting +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting + +# zsh-z +git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z + +# fzf +git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf +~/.fzf/install + +