add default prompt as well

This commit is contained in:
Roy Olav Purser 2024-02-09 21:08:06 +01:00
parent 2e7e3fda44
commit 1226491169
Signed by: roypur
GPG Key ID: 063DAA01D56E28CB

View File

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