X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Tee Subject: Re: an updated howto on a portable/usb cygwin installguide? Date: Mon, 2 May 2011 06:19:35 +0000 (UTC) Lines: 12 Message-ID: References: <4DB51D1C DOT 8000600 AT bonhard DOT uklinux DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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