#!/bin/sh cd "$(dirname $1)" exec nnn -A -p - | awk "{print \"evaluate-commands -client $3 edit\", \$1 }" | kak -p "$2"