diff --git a/scripts/vpn_prompt.sh b/scripts/vpn_prompt.sh index d331f25..4b87c05 100644 --- a/scripts/vpn_prompt.sh +++ b/scripts/vpn_prompt.sh @@ -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}%f %n@%m % %c %#' fi