From 189bbd1b5b2ff9b49fdf9f1a3bbab170c5909292 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 11 Jul 2021 13:13:51 -0500 Subject: [PATCH] Add an easy, consistent, global PS1. Big thanks to FreeBSD for the simplicity. --- tasks/general/acct_mgmt/users.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index cdbd1c6..52f8b9c 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -111,6 +111,7 @@ fi curl "https://wttr.in/${1//\ /+}" } + PS1: "export PS1='[\u@\h \w]\$'" - name: General | Account Management | Users | Files | Common Variable set_fact: @@ -120,6 +121,7 @@ {{ alias_mv }} {{ alias_rm }} {{ function_wttr }} + {{ PS1 }} - name: General | Account Management | Users | Files | .bashrc blockinfile: