Skip to content

Instantly share code, notes, and snippets.

View DevER-M's full-sized avatar
💤
learning

Mithun DevER-M

💤
learning
View GitHub Profile
@DevER-M
DevER-M / bashrc-PS1.md
Last active March 30, 2022 15:17
PS1 and prompt for bash and zsh

Kali linux PS1

PS1='\[\e]0;\u@\h: \w\a\]\[\e[0;94m\]┌──\[\e[0;94m\](\[\e[0;91m\]\u\[\e[0;94m\]@\[\e[0;91m\]\h\[\e[0;94m\])\[\e[0;94m\]-\[\e[0;94m\][\[\e[0;1;92m\]\w\[\e[0;94m\]]\n\[\e[0;94m\]└─\[\e[0;91m\]# \[\e[0m\]'

image

Custom PS1 - 1

PS1='\[\e[0;91m\][\[\e[0;38;5;202m\]\u\[\e[0m\]@\[\e[0;96m\]\h \[\e[0;1m\]\w\[\e[0;91m\]]\[\e[0;91m\]# \[\e[0m\]'