kns icon indicating copy to clipboard operation
kns copied to clipboard

fix: handle non-existing current context

Open cmeury opened this issue 3 years ago • 1 comments

fixes #13

Check for exit code, then set current to empty string. This will have no effect on the list of contexts, and also appending it at the end works because of the added control character \c which skips the newline.

cmeury avatar Nov 21 '22 13:11 cmeury

Resolved the conflict, ready to merge.

cmeury avatar May 10 '23 07:05 cmeury

Still ready to merge :)

cmeury avatar Sep 03 '24 15:09 cmeury

@joosterman Can you maybe hit that merge button?

koenbollen avatar Sep 04 '24 07:09 koenbollen

Thanks! 🤗

koenbollen avatar Sep 04 '24 08:09 koenbollen