I'm writing a bash script, and I need to get from within the terminal current workspace URL and the cloud9 user email.
I've tried:
Any ideas how could I get these details from within the c9 terminal?
on hosted workspaces you can use $C9_*
environment variables, try
echo $C9_EMAIL $C9_FULLNAME $C9_HOSTNAME $C9_PROJECT