dots-of-war/files/scripts/kak-attatch-session
2020-09-20 10:29:51 +02:00

12 lines
137 B
Bash
Executable file

#!/bin/sh
kak -clear
session="${PWD##*/}"
if ! kak -l | grep -q "$session"; then
kak -d -s "$session" &
fi
kak -c "$session" "$@"