[O] Dynamic hostname

This commit is contained in:
Azalea @ T450 Windows
2022-01-13 10:32:23 +08:00
parent 5f483d76ae
commit 715ba5af34
+1 -1
View File
@@ -49,7 +49,7 @@ function color($tmp) {
function prompt
{
color ("&n" +
"&5$(get-date -UFormat "%a %m-%d %H:%M") &1Kevin-PC &eAzalea &r$(pwdd)&n" +
"&5$(get-date -UFormat "%a %m-%d %H:%M") &1$($env:computername) &eAzalea &r$(pwdd)&n" +
"> ")
}