delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/10/13:23:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20030410172335.24399.qmail@web10106.mail.yahoo.com>
Date: Thu, 10 Apr 2003 10:23:35 -0700 (PDT)
From: Suetlam Chung <slfchung AT yahoo DOT com>
Subject: PATH hosed
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hi, yesterday I asked my gcc command not found problem
I reinstall ALL the packages again but it is still 
not working. I open the zprofile file from the
/etc/profile
as below ( I guess I should amend the PATH to 
PATH="/usr/local/bin:/usr/sbin:$PATH"

Can anyone advised my guess? In case my guess
is right and amend, do I need to do any thing etc?

Many thanks

Below is the copy of zprofile file content

#
# Example /etc/zprofile
#
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH"

USER="`id -un`"

# Set up USER's home directory
if [ -z "$HOME" ]; then
  HOME="/home/$USER"
fi

if [ ! -d "$HOME" ]; then
  mkdir -p "$HOME"
fi

export HOME USER

# source the standard shell profiles
for i in /etc/profile.d/*.sh ; do
  if [ -f $i ]; then
    . $i
  fi
done
# source the Z-shell profiles
for i in /etc/profile.d/*.zsh ; do
  if [ -f $i ]; then
    . $i
  fi
done

export MAKE_MODE=unix
export PS1='(%n@%m)[%h] %~ %% '

cd "$HOME"

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019