Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
HOSTNAME enviromental variable is localhost not system name #352
This should be the system hostname, or the phones name. This name is the one usually registered in the local dns when connected to a wifi network. having the hostname in the PS1 will make it easier for people to set up ssh connections as all they should need is
and/or can add this to their ssh config (assuming the phone is called myphone)
which allow people to just
which works with emacs tramp for editing files on the phone filesystem
I guess hostname The hostname issue I have looked into, but i cannot find the detail. Usually there is a device ID that is used for the hostname, and this is part of the android platform. If you can publish this, then that would be a good substitute.
The above process also works by using IP address.
And can be added to the documentation