diff --git a/alrc-termux.sh b/alrc-termux.sh index 02dd3d8..cbe1e7a 100644 --- a/alrc-termux.sh +++ b/alrc-termux.sh @@ -19,9 +19,9 @@ # set -xv # major * minor * patch * -export ALRC_VERSION="4.3.06" +export ALRC_VERSION="4.3.07" -ALRC_UDATE='26/04/24 00:54 WIB' +ALRC_UDATE='24/07/24 22:18 WIB' if [ "$ALRC_USE_ENV_PATH" == "true" ]; then export ALRC_HOME="$(cd -P -- "$(dirname -- "$(readlink "${BASH_SOURCE[0]}")")" && pwd)" @@ -427,16 +427,15 @@ case "$ALRC_USE_STARSHIP" in alrc_starship=false; ;; "random") - set +o noclobber + set +o noclobber; alrc_starship=true; source $ALRC_HOME/lib/ext_command_helper.sh; al_include_starship; #shuffle prompt #starship preset $(cat $ALRC_HOME/cache/active_prompt.dat) -o ~/.config/starship.toml ;; *) - set +o noclobber + set +o noclobber; alrc_starship=true; source $ALRC_HOME/lib/ext_command_helper.sh; al_include_starship; - #starship preset ${ALRC_USE_STARSHIP} -o ~/.config/starship.toml ;; esac diff --git a/plugins/brandomusicv.alrc.plugin.sh b/plugins/brandomusicv.alrc.plugin.sh index 2f5399f..fd71049 100644 --- a/plugins/brandomusicv.alrc.plugin.sh +++ b/plugins/brandomusicv.alrc.plugin.sh @@ -11,7 +11,7 @@ function __brandomusicv() #export BRANDO_RESPONSE= - #export BRANDO_NO_CACHE= + export BRANDO_NO_CACHE=true # Variabel ini digunakan untuk aplikasi DMP, aktifkan variabel di .bashrc jika anda memutar dengan DMP player # Direkomendasikan untuk mengaktifkan variabel ini secara setinggan default untuk menghindari error @@ -65,7 +65,7 @@ EOF esac return } -alias brandomusicv='setenv BRANDO_RESPONSE y & __brandomusicv' +alias brandomusicv='setenv BRANDO_RESPONSE y && __brandomusicv' plugin_shortname=$(echo "${BASH_SOURCE[0]}" | awk '{gsub(/.*[/]|[.].*/, "", $0)} 1' ) alrc_plugin_enabled+=($plugin_shortname) diff --git a/plugins/starship.alrc.plugin.sh b/plugins/starship.alrc.plugin.sh index baa9a4a..874c6a4 100644 --- a/plugins/starship.alrc.plugin.sh +++ b/plugins/starship.alrc.plugin.sh @@ -20,6 +20,8 @@ done if [ $ALRC_USE_STARSHIP == "random" ]; then al_shuf_starship_prompt &>/dev/null + else + starship preset ${ALRC_USE_STARSHIP} -o ~/.config/starship.toml fi eval "$(starship init bash)" unset ps;