dotfiles/bin/ewrap

7 lines
117 B
Bash
Executable File

#!/usr/bin/env sh
if [ -n "$TMUX" ] ; then
tmux split-window -h "nvim \"$*\""
else
kitty -e "nvim \"$*\""
fi