1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 08:31:13 +00:00
prezto/modules/osx/functions
Herobs 76b8c810aa osx module mand fix
> The {query} has to be percent-escaped in macOS 11.

Just replace `:` to `%3A` work fine.

But add function like this one I find on stackoverflow to encode the entire query string would be more robust.
```bash
urldecode() {
    # urldecode <string>

    local url_encoded="${1//+/ }"
    printf '%b' "${url_encoded//%/\\x}"
}
```
2021-04-26 15:37:01 -05:00
..
_mand_manp Remove manb from completion filename 2017-04-13 01:51:15 -07:00
mand osx module mand fix 2021-04-26 15:37:01 -05:00
manp Only one newline at end of file 2014-10-09 23:38:15 -04:00
osx-ls-download-history Rename "Mac OS X" to "macOS" in comments 2018-04-16 15:53:48 -07:00
osx-rm-dir-metadata Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
osx-rm-download-history Rename "Mac OS X" to "macOS" in comments 2018-04-16 15:53:48 -07:00
pfd [general] Miscellaneous cleanup and formatting 2017-08-04 13:45:56 -05:00
pfs Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
ql Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
tab [general] Miscellaneous cleanup and formatting 2017-08-04 13:45:56 -05:00