1
1
Fork 0

Update readme

This commit is contained in:
Kenwood 2021-05-30 18:49:15 -04:00
parent e53f5de1b8
commit c30f2f9185
1 changed files with 11 additions and 12 deletions

View File

@ -1,34 +1,33 @@
# Clone repo # Clone repo
git clone --bare https://kitsunehosting.net/gitea/Kenwood/dotfiles.git $HOME/.dotfiles ```git clone --bare https://kitsunehosting.net/gitea/Kenwood/dotfiles.git $HOME/.dotfiles```
# Make a temp alias (will be perminant via .zshrc) # Make a temp alias (will be perminant via .zshrc)
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' ```alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'```
# Pull stuff down! # Pull stuff down!
config checkout ```config checkout```
# If things offend, backup or delete existing/differeing files. # If things offend, backup or delete existing/differeing files.
# This could work but idk # This could work but idk
mkdir -p .config-backup && \ ```mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \ config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{} xargs -I{} mv {} .config-backup/{}```
# Also use this to keep it all neat! # Also use this to keep it all neat!
config config --local status.showUntrackedFiles no ```config config --local status.showUntrackedFiles no```
# Also, clone all the zsh plugins # Also, clone all the zsh plugins
# Autocompletions # Autocompletions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ```git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions```
# Syntax highlighting # Syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-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 # zsh-z
git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z ```git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z```
# fzf # fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf ```git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install ~/.fzf/install```