Skip to content

Commit

Permalink
Update bld-target script location for integration with the bin/prompt…
Browse files Browse the repository at this point in the history
…_command path
  • Loading branch information
raven42 committed Jul 14, 2023
1 parent 0d7bce7 commit a68f89a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function set_prompt() {
# variables on each command if needed, or adjusting the information displayed
# in the prompt. To add a resource script to the prompt command path, just put
# the <file>.sh script in this directory
export PROMPT_COMMAND_PATH=$PRIVATE_RC_PATH/prompt_command
export PROMPT_COMMAND_PATH=$HOME/bin/prompt_command
export PROMPT_COMMAND=set_prompt

source $POST_RC
5 changes: 4 additions & 1 deletion sbin/bld-target
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ bld_target=
if [[ $GITRC_ENVIRONMENT == 1 && -n "$GIT_ROOT" ]]; then
target_rc=${GIT_ROOT}/.rc/bld_target.sh
else
target_rc=${HOME}/.private/bld_target.sh
if [[ ! -d $HOME/bin/prompt_command ]]; then
mkdir -p $HOME/bin/prompt_command
fi
target_rc=${HOME}/bin/prompt_command/bld_target.sh
fi

# Process the command line arguments
Expand Down

0 comments on commit a68f89a

Please sign in to comment.