Merge #4964 from ZyX-I/no-xdg-expand

option: Do not expand options, obtained from XDG vars
This commit is contained in:
Justin M. Keyes
2016-08-04 20:59:51 -04:00
committed by GitHub
9 changed files with 286 additions and 46 deletions

View File

@@ -57,9 +57,14 @@ local get_flags = function(o)
add_flag(redraw_flags[r_flag])
end
end
if o.expand then
add_flag('P_EXPAND')
if o.expand == 'nodefault' then
add_flag('P_NO_DEF_EXP')
end
end
for _, flag_desc in ipairs({
{'alloced'},
{'expand'},
{'nodefault'},
{'no_mkrc'},
{'vi_def'},