[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A thought for readme
From: |
Jan Kreft |
Subject: |
Re: A thought for readme |
Date: |
Fri, 1 May 1998 19:52:13 +0100 (BST) |
Hi,
I don't know the answer, but here is how you set things up with a standard
Unix bash shell.
This is the end of my .bashrc to show examples of setting prompts PS1
and PS2: delete as much info as you want. Read first line as
address@hidden:working/directory >
#PS1='address@hidden:`/bin/pwd` > '
PS1='`/bin/pwd` > '
PS2='>> '
# set DISPLAY if unset but known
if [ -z "$DISPLAY" -a -f ~/.DISPLAY ] ; then
DISPLAY=`cat ~/.DISPLAY`
fi
test -e ~/.alias && . ~/.alias
export DISPLAY LESS PS1 PS2
umask 022
This is an example of exporting PATH so that the current working
directory is included, the important part is the end:
:.:
read as: separator current-working-directory separator
export PATH=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:.:
Hope that helps,
Jan.
On Fri, 1 May 1998, Parviez HosseiniC wrote:
> BTW, exactly how do you set environment variables in Cygnus?
> I have tried to change PROMPT by set prompt, SET PROMPT, set PROMPT,
> (actually I haven't tried SET prompt), and setenv PROMPT. None of which
> works! As it stands, a couple more subdirectories I won't see the command
> line!
> In fact, Win95 hangs entirely (not just the Cygnus shell) when I try to
> do any of these things.
>
> So how do you then change the path variable to include ./?
>
> -Parviez
>
> PS: I suppose a crosspost to a Cygnus-support would be the idea, but I
> didn't notice anything on the web page about a place to post to.
>
> ==================================
> Swarm-Support is for discussion of the technical details of the day
> to day usage of Swarm. For list administration needs (esp.
> [un]subscribing), please send a message to <address@hidden>
> with "help" in the body of the message.
> ==================================
>
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================