Skip to content

[REQUEST] "-C" flag to merge "-s" and "-c" #5426

@exlee

Description

@exlee

Feature

This is almost duplicate of #4702, but I wasn't sure if it bubbles it up. Can be closed.

In short, I propose to have a "-C" flag that would work like a "-c" and "-s" flag. i.e. would toggle "-c" flag with it, but instead of erroring out, created a new session with the same name.

Shouldn't be terribly difficult to add, but I'm afraid of C++, sorry :)

Right now I use:

#!/bin/bash
kak -s session $@ || kak -c session $@

Usecase

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions