hostnames in ubuntu/trusty64 are quite long like shown in the image below!
hostname in above pic is vagrant-ubuntu-trusty-64 and i fucking hate this long hostname so all you can do is run the command as shown in the pic below to change the hostname.
After doing this restart the terminal and this is what you get
and yes if you like my agnoster theme then check here how to do this.
EDIT:-> above method temporarily adds hostname for permanent changing the hostname you have to edit the hostname file present in the /etc/ directory.. just open it and remove the old hostname and add the new hostname.
hostname in above pic is vagrant-ubuntu-trusty-64 and i fucking hate this long hostname so all you can do is run the command as shown in the pic below to change the hostname.
After doing this restart the terminal and this is what you get
and yes if you like my agnoster theme then check here how to do this.
EDIT:-> above method temporarily adds hostname for permanent changing the hostname you have to edit the hostname file present in the /etc/ directory.. just open it and remove the old hostname and add the new hostname.