Package: zsh Version: 4.3.0-dev-2-1 Severity: wishlist zsh doesn't include /usr/local/sbin, /usr/local/bin, /sbin or /usr/sbin in the default PATH as bash does.
[EMAIL PROTECTED]:/$ unset PATH [EMAIL PROTECTED]:/$ /bin/zsh --no-globalrcs --no-rcs turmeric% echo $PATH /bin:/usr/bin:/usr/ucb:/usr/local/bin [EMAIL PROTECTED]:/$ unset PATH [EMAIL PROTECTED]:/$ /bin/bash --norc --noprofile bash-3.1$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin If zsh is intended as a /bin/sh candidate then the default PATH should be the same as bash's so that surprises like #345101 happen less often. I don't know whether zsh or bash (or both) should change its default PATH, but FWIW the bash source tree includes a Debian patch (bash-3.1/debian/patches/deb-bash-config.dpatch) which claims that Debian policy has something to say about this. > [...] > # DP: Changed compile time configuration options: > # DP: > # DP: - Set the default path to comply with Debian policy > [...] > --- bash-3.1-alpha1/config-top.h 2005-04-29 20:36:34.000000000 +0000 > +++ bash/config-top.h 2005-09-09 19:26:41.923569456 +0000 > @@ -52,14 +52,14 @@ > /* The default value of the PATH variable. */ > #ifndef DEFAULT_PATH_VALUE > #define DEFAULT_PATH_VALUE \ > - "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:." > + "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" > #endif > > /* The value for PATH when invoking `command -p'. This is only used when > the Posix.2 confstr () function, or CS_PATH define are not present. */ > #ifndef STANDARD_UTILS_PATH > #define STANDARD_UTILS_PATH \ > - "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc" > + "/bin:/usr/bin:/sbin:/usr/sbin" > #endif > [...] -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

