summaryrefslogtreecommitdiff
path: root/src/vte.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* vte.sh: Fix the check for PROMPT_COMMAND when it is unsetChristian Persch2021-09-251-1/+1
| | | | | | | declare "helpfully" outputs on stdout for existing variables, but on stderr for nonexistent ones. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/37
* vte.sh: Use PROMPT_COMMAND as an array when possibleChristian Persch2021-08-281-7/+24
| | | | | | | | Newer bash versions support PROMPT_COMMAND as an array. In this case, add only the __vte_osc7 command to the array, instead of overwriting the PROMPT_COMMAND with __vte_prompt_command. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/37
* all: Clean up licence headersChristian Persch2021-01-311-1/+1
| | | | | | | | | | | Unify the licence headers so that all same-licensed files use the exact same text. For some time now, libvte has been effectively LGPL3+ due to newer files being LGPL3+ only while some older files were still nominally LGPL2+ as per their licence headers. Exercise the "or (at your option) any later version" upgrade option to henceforth use, modify and distribute all these files under LGPL3+ only.
* vte.sh: Avoid warnings if shell is configured with 'set -u'Marko Mäkelä2020-09-301-3/+3
| | | | | Resolves: https://gitlab.gnome.org/GNOME/vte/-/issues/285 Bug-Debian: https://bugs.debian.org/941247
* vte.sh: Use the vte-urlencode utilityCarlos Santos2020-01-221-0/+44
Drop the __vte_urlencode function and use the vte-urlencode-cwd utility, instead of it, in __vte_osc7. Also call __vte_osc7 directly in __vte_prompt_command, instead of in a subshell, avoiding an extra fork. Drop the __vte_urlencode test, since the function does not exist anymore and vte-urlencode-cwd has its own test. https://gitlab.gnome.org/GNOME/vte/issues/206