Set Terminal Title to Username


/ Published in: Bash
Save to your folder(s)

Useful when having multiple ssh connections to remote servers open in os x. Throw this in your ~/.bash_profile


Copy this code and paste it in your HTML
  1. echo -n -e "\033]0;"`whoami`"\007"

Report this snippet


Comments


You need to login to view comments.