Hot answers tagged

1

Bash 4.4 provide PS0: 'PS0' The value of this parameter is expanded like PS1 and displayed by interactive shells after reading a command and before the command is executed. We will use it to restore cursor to block before executing a command, add this to your bashrc: PS0='\[\e[2 q\]' If you use tmux: PS0='\[\ePtmux;\e\e[2 q\e\\\]' If you ...


Only top voted, non community-wiki answers of a minimum length are eligible