dotfiles/bin/tmux-nvr

5 lines
97 B
Bash
Executable file

#!/bin/bash
tmux select-window -t1
FILE="$1"
shift
exec nvr --remote "$@" $(readlink -f "$FILE")