terminal: absolute CWD in term:// URI #11289

This makes it possible to restore the working directory of :terminal
buffers when reading those buffers from a session file.

Fixes #11288

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
Chris LaRose
2020-01-26 00:24:42 -08:00
committed by Justin M. Keyes
parent 451af7f087
commit c6ff23d7a0
6 changed files with 42 additions and 11 deletions

View File

@@ -234,7 +234,8 @@ get_vimpatch() {
printf "Creating patch...\n"
echo "$patch_content" > "${NVIM_SOURCE_DIR}/${patch_file}"
printf "Pre-processing patch...\n"
printf "Pre-processing patch...\n"
preprocess_patch "${NVIM_SOURCE_DIR}/${patch_file}"
msg_ok "Saved patch to '${NVIM_SOURCE_DIR}/${patch_file}'."
}
@@ -305,7 +306,8 @@ git_hub_pr() {
hub_pr() {
hub pull-request -m "$1"
}
}
git_hub_pr() {
git hub pull new -m "$1"
}