X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c5b6f313409f35ecdacb022ef2cff688a529249b..02b33a1260a825fae9f3b8d68229a328b58a28e7:/aliases?ds=sidebyside 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