dotfiles/bin/ewrap
2022-10-21 13:15:28 +03:00

6 lines
117 B
Bash
Executable file

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