diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2019-06-20 11:13:05 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2019-06-20 11:13:05 +0100 |
commit | b8dc5a7f6d52df98a546ad3b39104f4b8e7b8daf (patch) | |
tree | 360211057d08021d5e1e7291e5d81d4d9ba2bf76 /Src/glob.c | |
parent | 80aa807a61cf10ebf459ba8e06621a5ec33041dc (diff) | |
download | zsh-b8dc5a7f6d52df98a546ad3b39104f4b8e7b8daf.tar.gz zsh-b8dc5a7f6d52df98a546ad3b39104f4b8e7b8daf.tar.xz zsh-b8dc5a7f6d52df98a546ad3b39104f4b8e7b8daf.zip |
44435: Handling digita arguments for :h and :t.
Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments.
Diffstat (limited to 'Src/glob.c')
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c index ed2c90bd8..92fd64e7c 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -400,7 +400,7 @@ insert(char *s, int checked) if (colonmod) { /* Handle the remainder of the qualifier: e.g. (:r:s/foo/bar/). */ char *mod = colonmod; - modify(&news, &mod); + modify(&news, &mod, 1); } if (!statted && (gf_sorts & GS_NORMAL)) { statfullpath(s, &buf, 1); |