Update .local/share/chezmoi/home/dot_bashrc, .local/share/chezmoi/home/.chezmoiexternal.toml

This commit is contained in:
Brian Zalewski 2022-12-06 19:44:59 +00:00
parent aa47e2b555
commit 181b39a25c
2 changed files with 11 additions and 1 deletions

View file

@ -41,6 +41,12 @@
type = "file" type = "file"
url = "https://gitlab.com/megabyte-labs/gas-station/-/raw/master/environments/prod/group_vars/all/helm.yml" url = "https://gitlab.com/megabyte-labs/gas-station/-/raw/master/environments/prod/group_vars/all/helm.yml"
refreshPeriod = "{{ $refreshPeriod }}" refreshPeriod = "{{ $refreshPeriod }}"
[".local/bash_it"]
type = "git-repo"
url = "https://github.com/Bash-it/bash-it.git"
refreshPeriod = "{{ $refreshPeriod }}"
clone.args = ["--depth", "1"]
pull.args = ["--ff-only"]
[".config/shell/lscolors.sh"] [".config/shell/lscolors.sh"]
type = "file" type = "file"
url = "https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/lscolors.sh" url = "https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/lscolors.sh"

View file

@ -43,7 +43,11 @@ fi
if [ "$BASH_SUPPORT" = 'true' ]; then if [ "$BASH_SUPPORT" = 'true' ]; then
if [[ "$(hostname)" != *'-minimal' ]]; then if [[ "$(hostname)" != *'-minimal' ]]; then
### Styled Terminal ### Styled Terminal
if command -v oh-my-posh > /dev/null; then export BASH_IT="$HOME/.local/bash_it"
export BASH_IT_THEME=modern
if [ -f "$BASH_IT/bash_it.sh" ]; then
. "$BASH_IT/bash_it.sh"
elif command -v oh-my-posh > /dev/null; then
# Oh My Posh (See: https://ohmyposh.dev/) # Oh My Posh (See: https://ohmyposh.dev/)
eval "$(oh-my-posh init bash --config "$XDG_CONFIG_HOME/oh-my-posh/Betelgeuse.omp.json")" eval "$(oh-my-posh init bash --config "$XDG_CONFIG_HOME/oh-my-posh/Betelgeuse.omp.json")"
else else