mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-11-25 23:12:51 +00:00
zsh-stripped: init
Patched version of ZSH that provides remote file completion and special handling for special chars such as # or ^
This commit is contained in:
parent
7edb5c6f37
commit
68bdc4f3f0
4 changed files with 91 additions and 9 deletions
19
pkgs/zsh-stripped/0001-globquote.patch
Normal file
19
pkgs/zsh-stripped/0001-globquote.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
diff --git a/Src/utils.c b/Src/utils.c
|
||||
index edf5d3df7..2d1712227 100644
|
||||
--- a/Src/utils.c
|
||||
+++ b/Src/utils.c
|
||||
@@ -6205,11 +6205,11 @@ quotestring(const char *s, int instring)
|
||||
continue;
|
||||
}
|
||||
else if (ispecial(*u) &&
|
||||
- ((*u != '=' && *u != '~') ||
|
||||
+ ((*u != '=' && *u != '~' && *u != '#' && *u != '^') ||
|
||||
u == s ||
|
||||
(isset(MAGICEQUALSUBST) &&
|
||||
- (u[-1] == '=' || u[-1] == ':')) ||
|
||||
+ (u[-1] == '=' || u[-1] == ':'))
|
||||
- (*u == '~' && isset(EXTENDEDGLOB))) &&
|
||||
+ ) &&
|
||||
(instring == QT_BACKSLASH ||
|
||||
instring == QT_SINGLE_OPTIONAL ||
|
||||
(
|
||||
Loading…
Add table
Add a link
Reference in a new issue