Tag Info

New answers tagged


One thing you could do is use commonly named vars to define the terminal escapes specific to each shell's interpretation in their own sourced script, then bring it all together at the end in a single prompt: ~/.zshrc esc1='SPECIFIC TO ZSH' esc2='SPECIFIC TO ZSH' . ~/.common_prompt ~/.bashrc esc1='SPECIFIC TO BASH' esc2='SPECIFIC TO ...

Top 50 recent answers are included