Dash:
[t2.git] / package / shells / bash / cd.patch
blobc2fdef10628602053f1722b33321d2488171f14b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/*/bash/cd.patch
5 # Copyright (C) 2021 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Standard compliant and not annoying cd, to support cd src.* and change
18 into the 1st match, like it AFAIR did for the last decades.
20 --- bash-5.1/config-top.h.vanilla 2021-08-24 19:52:54.375491511 +0200
21 +++ bash-5.1/config-top.h 2021-08-24 19:53:06.150491274 +0200
22 @@ -29,7 +29,7 @@
24 /* Define CD_COMPLAINS if you want the non-standard, but sometimes-desired
25 error messages about multiple directory arguments to `cd'. */
26 -#define CD_COMPLAINS
27 +/* #define CD_COMPLAINS */
29 /* Define BUFFERED_INPUT if you want the shell to do its own input
30 buffering, rather than using stdio. Do not undefine this; it's