||4 weeks ago|
|.config||4 weeks ago|
|.bashrc||9 months ago|
|.gitignore||4 weeks ago|
|.zprofile||4 weeks ago|
|README.md||1 month ago|
Nihar's fybox Dotfiles
Instructions fo the dotfiles repository at https://gitlab.com/niharokz/dotfile.
The dotfiles in this repository are installed using a bare Git repository. This method does not use symlinks (like most other dotfile repositories).
After the installation, all the dotfiles will be physically present in your home folder, yet, you will still have them under full version control.
Look and Feel
Now all the dotfiles from the repository are installed in your home directory.
However, as mentioned, you still have them under full version control via the bare Git repository in
To interact with the bare Git repository, you need the following alias:
dot='/usr/bin/git --git-dir=$HOME/.config/.dotfile --work-tree=$HOME'
.alias file in the dotfiles repository already contains this alias, so you're good to go.
dot alias, you can now manage the dotfiles via the bare Git repository, just as you would with the
Edited your dotfiles? No problem, commit and push the changes:
dot add ~/.vimrc dot commit -m "Edit .vimrc" dot push
Pushed changes to the remote repository from another machine? Easy, just pull down the new version:
Want to know what's going on?
Don't want to see untracked files:
dot config status.showUntrackedFiles no
While installing dot files in a new system:
git clone --bare email@example.com:niharokz/dotfile.git $HOME/.config/.dotfile dot='/usr/bin/git --git-dir=$HOME/.config/.dotfile --work-tree=$HOME' dot checkout
Using a bare Git repository is described here: