X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/31a97da22830907bf434b621ad51f8e9451a8def..39d9b0baa1027b58c8e3cca820d1def96a09acfc:/aliases diff --git a/aliases b/aliases index 57dbfb8..f09cea4 100644 --- a/aliases +++ b/aliases @@ -24,7 +24,8 @@ if [[ -n "${VIM_TERMINAL}" ]]; then for f in "$@"; do # drop the file onto the running vim instance # see :h terminal-communication - echo -e "]51;[\"drop\", \"$f\"]" + local abspath=$(realpath $f) + echo -e "]51;[\"drop\", \"$abspath\"]" done } fi