From 1d03f1d3b032b8bfc2262b55476b6e60e435fa99 Mon Sep 17 00:00:00 2001 From: Arnaud M Date: Tue, 2 Jan 2024 18:02:11 +0100 Subject: [PATCH] Add two alias in bashrc Signed-off-by: Arnaud M --- userdata/isen-postinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/userdata/isen-postinstall.sh b/userdata/isen-postinstall.sh index addfa9c..df2afe6 100644 --- a/userdata/isen-postinstall.sh +++ b/userdata/isen-postinstall.sh @@ -75,9 +75,11 @@ let skip_defaults_vim = 1 set mouse= EOF -title.print "Set custom prompt" +title.print "Configure bash" cat <<'EOF'>>/root/.bashrc PS1='\e[2;37m\u@\h\e[0m \e[0;32m$PWD\e[0m \e[1;31m>\e[0m ' +alias os=openstack +alias k=kubectl EOF