mirror of
https://github.com/elkowar/dots-of-war.git
synced 2025-04-05 14:23:31 +00:00
10 lines
140 B
Bash
Executable file
10 lines
140 B
Bash
Executable file
#! /bin/sh
|
|
|
|
kak -clear
|
|
|
|
session="${PWD##*/}"
|
|
|
|
[ ! "$(kak -l | grep -iq "$session")" ] && \
|
|
kak -d -s "$session" &
|
|
|
|
kak -c "$session" "$@"
|