justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to hide warning of unset shell-var

CWempe opened this issue · comments

I configured powershell-go to show the variable STY wich indicates a session of screen

This works fine:

image

But when I am not using screen the variable is not set, wich obviously leads to an warning.

image

I would like to have an option -shell-var-no-warn-unset like the already available -shell-var-no-warn-empty.

Has this already been solved?

I this reactivated this in my config and do not the the above error.

image

Never mind.
I did not reload my session after reactivating the config.

The issue is still present.