dots-of-war/eggs/scripts/kak-attatch-session
2024-12-16 18:19:49 +01: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" "$@"