phunix/commands
Ben Gras 26844e05e7 From: Giovanni <gfalzoni@inwind.it>
To: Ben Gras <beng@few.vu.nl>
Date: Wed, 02 Nov 2005 19:05:13 +0100
Subject: Re: [Minix-devel-l] Symbolic link

Using an alias for cd to set the prompt to display the current path
breaks the cd command.  I use in .ashrc:
PS3=$PS1
hostname=$(expr `cat /etc/hostname.file` : '\([^.]*\)')
cd() {          ## shows current directory as prompt
   command cd "$@"
   PS1="$PS3$USER@$hostname:`pwd` > "
}

If you change the macro in shell.h to:
#define SYMLINKS  0
the correct behaviour is restored.  Could you verify?
I think that the ash package needs the patch.
2005-11-03 15:25:18 +00:00
..
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-11-03 15:25:18 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 14:46:01 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-22 16:03:44 +00:00
2005-11-01 22:57:42 +00:00
2005-09-16 13:37:29 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-21 15:10:52 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-10-24 14:06:36 +00:00
2005-11-02 20:01:37 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-19 13:15:15 +00:00
2005-09-08 13:09:03 +00:00
2005-10-21 11:18:41 +00:00