- Git needs to be installed
- Currently the pluggin portion of the .vimrc throws an error on startup but works in neovim (needs to be sourced from init.vim) so neovim is required for smooth/full operation.
Apply the following alias in the current session (will be added to .bash_aliases by the repo):
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
Before cloning prevent the git repo from seeing itself
echo ".cfg" >> .gitignore
Get an ssh key (if you don't already have one) and clone the repo
git clone --bare [email protected]:j-ace-svg/dotfiles.git $HOME/.cfg
If you can't obtain an ssh key, use https to clone the repo
git clone --bare https://github.com/j-ace-svg/dotfiles.git $HOME/.cfg
Get the config files from the repo into your home directory
config checkout
If an error is thrown regarding config files that will be overwritten, you can append the command with a -f to overwrite them or use the following command to move them to a backup folder first (then rerun the checkout)
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
Hide git from complaining about untracked files
config config --local status.showUntrackedFiles no
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
echo ".cfg" >> .gitignore
git clone --bare https://github.com/j-ace-svg/dotfiles.git $HOME/.cfg
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
config checkout
config config --local status.showUntrackedFiles no
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
echo ".cfg" >> .gitignore
git clone --bare [email protected]:j-ace-svg/dotfiles.git $HOME/.cfg
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
config checkout
config config --local status.showUntrackedFiles no