{"version":"2.1.281","anchor":"tilde-expansion-detection-helpers","canonical_anchor":"tilde-expansion-detection-helpers","heading":"Tilde-expansion detection helpers","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/tilde-expansion-detection-helpers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Tilde-expansion detection helpers\n\nNew patterns spot a `~` home-folder shortcut after `=` or `:`, or inside braces, in command arguments\n\n**Unclear.** The finding does not say which check uses these patterns or what happens when one matches.\n\n**What**\n\nIn a shell, `~` is shorthand for your home folder. New patterns detect a `~` in a command's arguments in these places:\n\n- right after `=`\n\n- right after `:`\n\n- inside a brace expression (a `{...}` group the shell expands into several words)\n\n**Why**\n\nThese are places where `~` is easy to overlook when reading a command, so they can now be told apart from ordinary text."}