From 2ee760a729b31bd167ada7769bc9b57b131771f5 Mon Sep 17 00:00:00 2001 From: Leo Alho <46094014+leoalho@users.noreply.github.com> Date: Sun, 21 Apr 2024 19:51:02 +0000 Subject: [PATCH] Update README.md --- .cfg/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.cfg/README.md b/.cfg/README.md index a67f441..0e4beec 100644 --- a/.cfg/README.md +++ b/.cfg/README.md @@ -1,6 +1,6 @@ # Dotfiles The purpose of this directory is to monitor dotfiles via a bare git repository. It is inspired by this https://www.atlassian.com/git/tutorials/dotfiles blogpost, which in turn was inspired by this https://news.ycombinator.com/item?id=11070797 HN thread. -THe repo has two branches, the main branch I use on Ubuntu distros with an GNOME DE. The arch branch is surprisingly for my minimal arch setup, currently running X11 + openbox + polybar. +The repo has two branches, the main branch I use on Ubuntu distros with an GNOME DE. The arch branch is surprisingly for my minimal arch setup, currently running X11 + openbox + polybar. ## Setting up this project initially: 1. git init --bare $HOME/.cfg @@ -16,10 +16,16 @@ While in $HOME 5. Checkout the content to $HOME: config checkout ## .git_aliases -To use the git aliases in your gitconfig. Add the following lines to your .gitconfig: +To use the git aliases in your .gitconfig. Add the following lines to your .gitconfig: [include] path = ~/.git_aliases, or any other path depending on your $HOME +## .bash_aliases +To use the bash aliases in your .bashrc include the following to your .bashrc +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi + ## Tmux uses the tpm for plugins https://github.com/tmux-plugins/tpm