From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7442 invoked by alias); 9 Dec 2011 04:35:10 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16611 Received: (qmail 2757 invoked from network); 9 Dec 2011 04:35:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.82.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=DLlYW1aGGVte59jUAShzNVvi8r2SfAVAhM5mH5utdjk=; b=hqPn2m0GH5/0qFH1q89jBQ5GvX9f7XeXTWF1EItIHIfhMp2lKqjWZN+2Yhf0AoCY1K D2/I6bcu9MIdpFyLI8nZiRK3Uz9yfhLYAc7hxJw6LqHLdg9QfsSw9K2+98w6nfKwD++6 3SQI2heQFhmvh7x7uHQLXkTZ0BvjIsqnG3Bzs= MIME-Version: 1.0 Date: Fri, 9 Dec 2011 12:34:59 +0800 Message-ID: Subject: How to display zsh is 32/64 bit? From: Daniel Lin To: Bart Schaefer Cc: Zsh Users Content-Type: multipart/alternative; boundary=0016e6d975aecd3f4704b3a14e63 --0016e6d975aecd3f4704b3a14e63 Content-Type: text/plain; charset=UTF-8 To do cross compile of 32/64 bit program on one machine.(which installed 64-bit zsh) I use ArchLinux x86_64 as host machine. And a arch32 chroot environment for 32-bit compiling(which installed 32-bit zsh). One problem is the PS1 of zsh. It will display the same on both environment. I'm wonder could I show different prompt inside the chroot environemnt? If zsh's prompt variable can deal this? --0016e6d975aecd3f4704b3a14e63--