diff --git a/.bashrc b/.bashrc index de680de..cb91862 100644 --- a/.bashrc +++ b/.bashrc @@ -17,12 +17,17 @@ elif command -v keychain >> /dev/null; then fi export GPG_TTY=$(tty) +# how about detecting local configs +if [ -f "$HOME/.config/localconfig.env" ]; then + . "$HOME/.config/localconfig.env" +fi + if command -v oh-my-posh >>/dev/null && [[ $FF_USE_OHMYPOSH != "false" ]]; then eval "$(oh-my-posh init bash)" else if [[ $PROMPT_THEME == "disabled" ]]; then true - elif [[ $PROMPT_THEME != "" ]] && [[ -f "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc" ]]; then + elif [[ -f "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc" ]]; then source "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc" else source "$HOME/.config/bash/shell-prompts/vern.bashrc" diff --git a/README.md b/README.md index b8a2c4b..50683fc 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,12 @@ curl -fsSL https://scripts.andreijiroh.eu.org/dotfiles/setup.sh | bash - ## Available Git mirrors -This project is hosted on [hosted instance of sourcehut](https://sr.ht) at the +This project is hosted on [hosted instance of sourcehut git](https://git.sr.ht) at the [`~ajhalili2006/dotfiles`][git.sr.ht] Git repository, alongside the following Git mirrors: -* mau.dev: +* mau.dev: (technically canonical due +to how mirroring work and usualy pushed there first) * GitHub: * Launchpad.net: * ~vern git: