mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
35826: add getsparam_u() to return unmetafied string, use it for a number of references to non-special params
This commit is contained in:
parent
045bd4e3a6
commit
a1f8d4ffc7
9 changed files with 38 additions and 20 deletions
|
|
@ -1426,7 +1426,7 @@ sourcehome(char *s)
|
|||
char *h;
|
||||
|
||||
queue_signals();
|
||||
if (EMULATION(EMULATE_SH|EMULATE_KSH) || !(h = getsparam("ZDOTDIR"))) {
|
||||
if (EMULATION(EMULATE_SH|EMULATE_KSH) || !(h = getsparam_u("ZDOTDIR"))) {
|
||||
h = home;
|
||||
if (!h)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue