dots-of-war/eggs/scripts/scripts/kak-attatch-session
2024-12-05 22:10:22 +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" "$@"