What do you use for your shell prompt
Shell prompt thread
Other urls found in this thread:
[~] $
[USERNAME@HOSTNAME ~] $:
>not customizing your shell prompt
_ _
| |__ (_)
| '_ \| |
| | | | |
|_| |_|_|
foldername;
~;
PS1="\[\033[38;5;251m\]\u\[$(tput sgr0)\]@\[$(tput sgr0)\]\[\033[38;5;240m\]\h\[$(tput sgr0)\] (\@)\n\\$\[$(tput sgr0)\]\[\033[38;5;242m\][\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;88m\]\w\[$(tput sgr0)\]\[\033[38;5;242m\]]\[$(tput sgr0)\]> \[$(tput sgr0)\]"
export PS1
if test $UID -ne 0; then
PS1='\[\033[01;32m\]\h\[\033[00m\] \[\033[01;34m\]\w >\[\033[00m\] '
else
PS1='\[\033[01;31m\]\h\[\033[00m\] \[\033[01;34m\]\w #\[\033[00m\] '
fi
What is thy command, O great and wise Master?
C:\>
RESET="\[\017\]"
NORMAL="\[\e[m\]"
BLUE="\[\e[38;5;39m\]"
GREEN="\[\e[38;5;48m\]"
RED="\[\e[38;5;9m\]"
YELLOW="\[\e[38;5;191m\]"
PS1="${RESET}──[${BLUE}\t${NORMAL} :: ${BLUE}\d${NORMAL}]──(${GREEN}\w${NORMAL})\n"
PS1="${PS1}──> "
export PS1
Although I can admit, full date might be a bit bloat, but I don't know what I should put there as replacement.
Based default Chad.
okay, Any Forums filtered few characters, so there is full version
pastebin.com
i have fancy colors, also i forgot to mention the git prompt on the right side
i use a ghost in the shell
user@hostname:~/Any Forums/g/2022/07/11
$ |
${PWD##*/}$
Looks like
foldername$ ls
sneed.png
Anything else is superfluous. There are also no colors and stupid multi-line or unicode bullshit.
PS1='[\u@\h \W]\$ '
PROMPT $P$G