dotfiles

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

commit 76ec25bf03d9bba275141cbdce4354a1db713f9b
parent 09d49859abf808b82886ed69b5c7774de28fdc48
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Wed,  1 May 2024 22:18:28 -0500

bash: force to use tmux as first command

Diffstat:
M.bashrc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

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