Source: https://www.atlassian.com/git/tutorials/dotfiles
note: copied from ark/bare script
echo -ne "\nalias config='/usr/bin/git --git-dir=\$HOME/.cfg/ --work-tree=\$HOME'" >> ~/.zshrc
source ~/.zshrc
echo ".cfg" >> ~/.gitignore
git clone --bare https://github.com/thlmenezes/.cfg.git $HOME/.cfg
config config --local status.showUntrackedFiles no
config checkout
config add .bashrc
config commit -m "feat(bashrc): add config file"
config push
Ark is a folder that contains setup scripts for the clean manjaro linux install, downloading my commonly used apps and code extensions
./bare
./ark `grep -v '^#' programs`
./code_ext `cat code-extensions`
./gnome_ext `cat gnome-extensions`
./studio
# requires file studio.desktop