Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Support setting PROMPT_THEME to disabled

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>

+3 -1
+3 -1
.bashrc
··· 20 20 if command -v oh-my-posh >>/dev/null && [[ $FF_USE_OHMYPOSH != "false" ]]; then 21 21 eval "$(oh-my-posh init bash)" 22 22 else 23 - if [[ $PROMPT_THEME != "" ]] && [[ -f "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc" ]]; then 23 + if [[ $PROMPT_THEME == "disabled" ]]; then 24 + true 25 + elif [[ $PROMPT_THEME != "" ]] && [[ -f "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc" ]]; then 24 26 source "$HOME/.config/bash/shell-prompts/${PROMPT_THEME}.bashrc" 25 27 else 26 28 source "$HOME/.config/bash/shell-prompts/vern.bashrc"