Skip to content

Commit

Permalink
Merge pull request #132 from tucked/ps0
Browse files Browse the repository at this point in the history
Replace DEBUG trap with PS0
  • Loading branch information
tucked authored and dmtucker committed Jul 5, 2024
2 parents ca5f698 + 7a34d8f commit 0982305
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/bashrc.bash
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ then
# terminal
TERM_CLEAR="$(tput clear)"
TERM_FLASH="$(tput flash)"

# shellcheck disable=SC2064
trap "printf '$TXT_RESET'" DEBUG
fi
export PS0="\[$TXT_RESET\]"
export PS1="\[$TXT_RESET\][\#] \[$TXT_CYAN_FG\]\u\[$TXT_RESET\]@\[$TXT_GREEN_FG\]\h\[$TXT_RESET\]:\[$TXT_YELLOW_FG\]\w\[$TXT_RESET\] \$ \[$TXT_RED_FG\]"
export PS1="\[$TXT_RESET$TXT_BRIGHT_BLACK_FG\]\D{%FT%T%z} exit \$?\n$PS1"
case $TERM in
Expand Down

0 comments on commit 0982305

Please sign in to comment.