mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-03-11 04:13:24 +00:00
chore(global): add some localenv detection on bashrc + README updates
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
d94b5c5da3
commit
53bc4b4b9a
2 changed files with 9 additions and 3 deletions
7
.bashrc
7
.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"
|
||||
|
|
|
@ -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: <https://mau.dev/andreijiroh.dev/dotfiles>
|
||||
* mau.dev: <https://mau.dev/andreijiroh.dev/dotfiles> (technically canonical due
|
||||
to how mirroring work and usualy pushed there first)
|
||||
* GitHub: <https://github.com/ajhalili2006/dotfiles>
|
||||
* Launchpad.net: <https://git.launchpad.net/ajhalili2006-dotfiles>
|
||||
* ~vern git: <https://git.vern.cc/ajhalili2006/dotfiles-modern>
|
||||
|
|
Loading…
Add table
Reference in a new issue