void

- enter the void 🪐
git clone git://git.acid.vegas/archlinux.git
Log | Files | Refs | Archive

commit 965fba06d83c29b3ca078bbcfffc206ae16c446e
parent 239954ed70a6c59eb20aa972a5de3ecc644427a0
Author: acidvegas <acid.vegas@acid.vegas>
Date: Thu, 6 Jun 2024 15:09:38 -0400

Added bashrcs

Diffstat:
Mscripts/vps | 10+++++++++-

1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/scripts/vps b/scripts/vps
@@ -53,6 +53,7 @@ setup_chroot() {
 	printf "printf \"nameserver 208.67.222.222\\\nnameserver 208.67.220.220\\\nnameserver 2620:119:35::35\\\nnameserver 2620:119:53::53\" > /etc/resolv.conf" >> /etc/rc.local
 
 	echo "$HOSTNAME" > /etc/hostname
+	echo 'export PS1="\e[38;5;237m\T\e[0m \e[38;5;196m\u@\h\e[0m \e[38;5;226m\w\e[0m : "' > /root/.bashrc
 	printf "set boldtext\nset minibar\nset nohelp\nset nowrap\nset quickblank\nset tabsize 4\nunbind ^J main\nset selectedcolor black,red\ninclude \"/usr/share/nano/*.nanorc\"\n" > /etc/nanorc
 	printf "\nexport HISTFILE=/dev/null\nexport LESSHISTFILE=/dev/null\nexport PYTHONHISTFILE=/dev/null\n" >> /etc/profile
 	printf "Defaults lecture = always\nDefaults lecture_file = /etc/sudoers.d/sudoers.lecture\nroot ALL=(ALL) ALL\n%%wheel ALL=(ALL) ALL\n" > /etc/sudoers
@@ -130,6 +131,12 @@ setup_chroot() {
 	xbps-reconfigure -fa
 }
 
+
+setup_user() {
+	echo 'export PS1="\e[38;5;237m\T\e[0m \e[38;5;196m\u@\h\e[0m \e[38;5;226m\w\e[0m : "' > ~/.bashrc
+}
+
+
 [ $1 = "root"   ] && setup_root
 [ $1 = "chroot" ] && setup_chroot
-[ $1 = "user"   ] && setup_user
+[ $1 = "user"   ] && setup_user
+\ No newline at end of file