Introduce shell_expand

This performs shell expansion without field splitting. This fixes issues with
filenames containing spaces.

This commit also cleans up complicated logic to join fields and to set
XDG_CONFIG_HOME.
This commit is contained in:
emersion 2018-12-10 23:20:27 +01:00
parent 6acbe84fdd
commit 8389047b47
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 121 additions and 114 deletions

View file

@ -4,14 +4,15 @@ lib_sway_common = static_library(
'background-image.c',
'cairo.c',
'ipc-client.c',
'list.c',
'log.c',
'loop.c',
'list.c',
'pango.c',
'readline.c',
'shexp.c',
'stringop.c',
'unicode.c',
'util.c'
'util.c',
),
dependencies: [
cairo,