This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: an updated howto on a portable/usb cygwin installguide?


I noticed with your setup I'm stuck with 

[loggedinuser]@[hostmachinename] ~

as my prompt

is there a way  to change the $user variable without editing /etc/profile  ??

mainly to intercept that pesky USER="$(id -un)" to change it to something of my
choosing in the bat file?
ie Tee@[hostmachine]
more specifically to convince the shell that "$(id -un)" or $USER is "TEE"?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]