Skip to content

hqkhan/dotfiles

Repository files navigation

Config for neovim + basic terminal stuff

Git bare repo repo holding dotfiles.

Steps to get setup on new machine:

# Avoid any funky recursion
echo ".cfg" >> .gitignore

# clones bare this repository into "$HOME"
git clone --bare [email protected]:hqkhan/dotfiles.git $HOME/.cfg

# Create temporary alias
alias dot='git -c status.showUntrackedFiles=no --git-dir=$HOME/.cfg/ --work-tree=$HOME -C ${HOME}'

# Ignore all untracked files
dot config --local status.showUntrackedFiles no

# Resetting to HEAD
dot reset --hard HEAD

# Create symlink for fugitive to work with bare repo
ln -sf $HOME/.cfg $HOME/.git

# Remove origin & re-add to fix lazygit's tracking
dot remote remove origin
dot remote add origin [email protected]:hqkhan/dotfiles.git

# Run bootstrap script to get all goodies
./dots/bootstrap

Config

screenshot

Software

Browser setup (Firefox)

Useful References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published