add default prompt as well

This commit is contained in:
2024-02-09 21:08:06 +01:00
parent 2e7e3fda44
commit 1226491169

View File

@ -1,4 +1,6 @@
if ! /snacks/wireguard/scripts/is_root_namespace.py
if /snacks/wireguard/scripts/is_root_namespace.py
then
export PS1='%n@%m % %c %#'
else
export PS1='%F{red}<vpn>%f %n@%m % %c %#'
fi