dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit 78109ceef2c00b74baaa35c510edffdd7b6f1439
parent 13810d6e35d6b77d69b8663908b771acf1fad9bc
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Wed,  1 May 2024 22:39:39 -0500

bash: change style in bash arrays

Diffstat:
M.bashrc | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.bashrc b/.bashrc @@ -69,4 +69,7 @@ stopwatch() { done } -PROMPT_COMMAND+=('FIRST_COMMAND=$((FIRST_COMMAND+1))' '[ -n "$DISPLAY" -a -z "$TMUX" -a "$FIRST_COMMAND" -gt 1 ] && exit') +PROMPT_COMMAND+=( + 'FIRST_COMMAND=$((FIRST_COMMAND+1))' + '[ -n "$DISPLAY" -a -z "$TMUX" -a "$FIRST_COMMAND" -gt 1 ] && exit' +)