Skip to content

Commit

Permalink
Add custom change prompt for starship
Browse files Browse the repository at this point in the history
  • Loading branch information
luisadha authored Jul 24, 2024
1 parent 8943dfd commit bcf11a9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions alrc-termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit bcf11a9

Please sign in to comment.