Created
February 28, 2024 07:37
-
-
Save mayankshah1607/85c1a89ebea4951053e0917e5a157aeb to your computer and use it in GitHub Desktop.
Dotfiles setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git clone --bare [email protected]:mayankshah1607/dotfiles.git $HOME/dotfiles | |
# define config alias locally since the dotfiles | |
# aren't installed on the system yet | |
function config { | |
git --git-dir=$HOME/dotfiles/ --work-tree=$HOME $@ | |
} | |
# checkout dotfiles from repo | |
config checkout | |
config config status.showUntrackedFiles no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment